package com.kospo.talk.payload;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.kospo.talk.model.TalkReadId;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.persistence.Column;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.*;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@JsonIgnoreProperties(ignoreUnknown = true)
@Schema(name = "TalkReadDto", description = "채팅 읽음 관리")
public class TalkReadDto implements Serializable {
    @Schema(name = "sabun", description = "사번")
    private String sabun;

    @Schema(name = "talkId", description = "톡방 아이디")
    private String talkId;

    @Schema(name = "insDate", description = "등록일시")
    private LocalDateTime insDate;

    @Schema(name = "readYn", description = "읽음여부")
    private Boolean readYn;
}