package cokr.xit.ens.modules.kkomydoc.domain;

import cokr.xit.ens.modules.common.ctgy.sys.mng.domain.TmpltMng;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.SuperBuilder;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Getter
@ToString
@SuperBuilder
@EqualsAndHashCode
@NoArgsConstructor
@Table(name = "ens_tmplt_mng_kko_md", schema = "", catalog = "")
@DiscriminatorValue("kkomd")
public class TmpltMngKkoMydoc extends TmpltMng {

    
    @Column(name = "pryMessage", nullable = true, length = 2000)
    @Setter
    private String pryMessage;

    
    @Column(name = "cs_number", nullable = false, length = 20)
    @Setter
    private String csNumber;

    
    @Column(name = "cs_name", nullable = false, length = 10)
    @Setter
    private String csName;

    
    @Column(name = "ci_trans_use_yn", nullable = false, length = 1)
    private String ciTransUseYn;

    
    @Column(name = "tmplt_msg_use_yn", nullable = false, length = 1)
    private String tmpltMsgUseYn;

    
    @Column(name = "tmplt_cs_info_use_yn", nullable = false, length = 1)
    private String tmpltCsInfoUseYn;
}
