package cokr.xit.ens.biz.traffic.chuncheon.mydoc.domain;

import cokr.xit.ens.biz.traffic.chuncheon.mydoc.domain.embeded.FieldCreate;
import cokr.xit.ens.biz.traffic.chuncheon.mydoc.domain.embeded.FieldUpdate;
import lombok.*;
import org.springframework.context.annotation.Profile;

import javax.persistence.*;

/**
 * <ul>
 * <li>업무 그룹명: 고지서템플릿관리 테이블</li>
 * <li>설 명: </li>
 * <li>작성일: 2021. 12. 22. 오후 5:44:32
 * </ul>
 *
 * @author 박민규
 */
@Getter
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "tb_nht_tmplat_manage")
@Profile("prod-traffic")
public class NhtTmplatManage {


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

    @Column(name = "signgu_code", columnDefinition = "char(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;


}
