package com.kospo.talk.payload;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@JsonIgnoreProperties(ignoreUnknown = true)
@Schema(name = "ScmDto", description = "형상관리")
public class ScmDto {
    private String req_title;  //제목
    private String req_content;  //내용
    private String req_sabun;  //내용
    private String search_sys_charger_id;  //시스템 담당 pi
    private String hop_ed_ymd;
    private String search_sys_id;  //시스템 ID
    private String talk_id;  //요청자
    @Schema(name = "attaches", description = "첨부파일")
    List<Attach> attaches;

    @Getter
    @Setter
    public static class Attach{
        String onm;
        String data;
    }
}
