package cokr.xit.ens.biz.traffic.cheonan.signtalk.domain;

import cokr.xit.ens.biz.traffic.cheonan.signtalk.domain.embeded.FieldCreate;
import cokr.xit.ens.biz.traffic.cheonan.signtalk.domain.embeded.FieldUpdate;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.persistence.*;

/**
 * 전자고지 템플릿관리
 */
@Getter
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "tb_nht_tmplat_manage")
public class TcaNhtTmplatManage {

    
    @Id
    @Column(name = "nht_tmplat_id", length = 5)
    private String nhtTmplatId;

    
    @Column(name = "signgu_code", length = 5)
    private String signguCode;

    
    @Column(name = "sndng_ty_code", length = 1)
    private String sndngTyCode;

    
    @Column(name = "nht_nm", length = 1000)
    private String nhtNm;

    
    @Column(name = "nht_sj", length = 1000)
    private String nhtSj;

    @Column(name = "nhtCn", length = 4000)
    private String nhtCn;

    
    @Column(name = "cstmr_cnter_nm", length = 100)
    private String cstmrCnterNm;

    
    @Column(name = "cstmr_cnter_tlphon_no", length = 14)
    private String cstmrCnterTlphonNo;

    
    @Column(name = "redirect_url", length = 255)
    private String redirectUrl;

    
    @Column(name = "use_at", length = 1)
    private String useAt;

    @Embedded
    private FieldCreate create;

    @Embedded
    private FieldUpdate update;


}
