package cokr.xit.ens.modules.common.ctgy.intgrnnoti.domain;

import cokr.xit.ens.modules.common.code.PostSeCd;
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.*;

@Entity
@Getter
@ToString
@SuperBuilder
@EqualsAndHashCode
@NoArgsConstructor
@Table(name = "ens_tmplt_mng_intgrn", schema = "", catalog = "")
@DiscriminatorValue("intgrn")
public class TmpltMngIntgrn extends TmpltMng {
    @Setter
    @Enumerated(EnumType.STRING)
    
    @Column(name = "try1", nullable = false)
    private PostSeCd try1;

    @Enumerated(EnumType.STRING)
    
    @Column(name = "try2", nullable = true)
    private PostSeCd try2;

    @Enumerated(EnumType.STRING)
    
    @Column(name = "try3", nullable = true)
    private PostSeCd try3;

}
