package cokr.xit.ens.biz.iup.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.persistence.*;

@Entity
//@Data
@Getter
@ToString
@Builder
@EqualsAndHashCode
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "TB_INPUT_DATA_BULK_TEST", schema = "", catalog = "")
public class TbInputDataBulkTest {

    @Id
//	@GeneratedValue(strategy=GenerationType.AUTO)
    @GeneratedValue(strategy = GenerationType.TABLE, generator = "TbInputDataBulkTest_Generator")
    @TableGenerator(table = "ens_seq_generator", name = "TbInputDataBulkTest_Generator"
            ,pkColumnName = "seq_name", pkColumnValue = "TbInputDataBulkTest_id"
            ,initialValue = 0, allocationSize = 200)
    private Long id;

//    @Id
    
    @Column(name = "DATA_ID", nullable = false)
    private String dataId;

    
    @Column(name = "SID", nullable = true)
    private String sid;

    
    @Column(name = "NAME", nullable = true)
    private String name;

    
    @Column(name = "BIRTHDAY", nullable = true)
    private String birthday;

    
    @Column(name = "GENDER", nullable = true)
    private String gender;

    
    @Column(name = "MSG_DATA", nullable = true, length = 4000)
    private String msgData;

    
    @Column(name = "MSG_DTL_DATA", nullable = true)
    @Lob
    private String msgDtlData;

    
    @Column(name = "REG_ID", nullable = false)
    private String regId;

    
    @Column(name = "REG_DT", nullable = false)
    private java.sql.Date regDt;

    
    @Column(name = "UPD_ID", nullable = true)
    private String updId;

    
    @Column(name = "UPD_DT", nullable = true)
    private java.sql.Date updDt;

    
    @Column(name = "PAY_STATUS_CD", nullable = true)
    private String payStatusCd;

    
    @Column(name = "PAY_URL", nullable = true)
    private String payUrl;

    
    @Column(name = "CAR_NO", nullable = true)
    private String carNo;


}
