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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import org.hibernate.annotations.CreationTimestamp;
import org.hibernate.annotations.UpdateTimestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;

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

    @Id
    @Column(name = "data_id", length = 30)
    private String dataId;

    
    @Column(name = "job_se", length = 1, nullable = true)
    private String jobSe;

    
    @Column(name = "pay_mn", length = 20, nullable = true)
    private String payMn;

    
    @Column(name = "pay_ty", length = 1, nullable = true)
    private String payTy;

    
//    @Column(name = "pay_detail1", length = 6, nullable = true)
    @Column(name = "pay_detail1", length = 8, nullable = true)
    private String payDetail1;

    
    @Column(name = "pay_detail2", length = 20, nullable = true)
    private String payDetail2;

    
    @Column(name = "pay_detail3", length = 100, nullable = true)
    private String payDetail3;

    
    @Column(name = "pay_amount", length = 12, nullable = true)
    private String payAmount;

    
    @Column(name = "pay_fee_ty", length = 10, nullable = true)
    private String payFeeTy;

    
    @Column(name = "pay_fee_amount", length = 12, nullable = true)
    private String payFeeAmount;

    
    @Column(name = "pay_fee_vat", length = 12, nullable = true)
    private String payFeeVat;

    
    @Column(name = "excclc_prearnge_de", length = 8, nullable = true)
    private String excclcPrearngeDe;

    
    @Column(name = "pay_dt", length = 14, nullable = true)
    private String payDt;

    
    @Column(name = "pay_id", length = 20, nullable = true)
    private String payId;

    
    @Column(name = "pay_result_process_sttus", length = 1, nullable = true)
    private String payResultProcessSttus;

    
    @CreationTimestamp
    @Column(name = "creat_dt", nullable = true)
    private LocalDateTime creatDt;

    
    @Column(name = "crtr", length = 50, nullable = true)
    private String crtr;

    
    @UpdateTimestamp
    @Column(name = "updt_dt", nullable = true)
    private LocalDateTime updtDt;

    
    @Column(name = "updusr", length = 50, nullable = true)
    private String updusr;


}
