package cokr.xit.ens.modules.ktsigntalk.gibis.domain;

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

import javax.persistence.*;
import java.io.Serializable;

@Entity
@Getter
@ToString
@SuperBuilder
@EqualsAndHashCode
@NoArgsConstructor
@Table(name = "ens_tmplt_mng_kt_gbs", schema = "", catalog = "")
@DiscriminatorValue("ktgbs")
public class TmpltMngKtGibis extends TmpltMng {

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

    
    @Column(name = "msg_cd", nullable = false, length = 5)
    private String msgCd;

    
    @Column(name = "m_type", nullable = false, length = 4)
    @Enumerated(EnumType.STRING)
    private MTypeCd mtype;

    
    @Column(name = "msg_type", nullable = false, length = 1)
    private String msgType;

    
    @Column(name = "opt_type", nullable = true, length = 1)
    private Integer optType;

    
    @Column(name = "snd_tel_no", nullable = true, length = 20)
    @Setter
    private String sndTelNo;

    
    @Column(name = "send_tel", nullable = true, length = 20)
    @Setter
    private String sendTel;

    
    @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;
}
