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 = "fs_job", schema = "", catalog = "")
public class FsJob {

    @Id
    @Column(name = "job_cd", nullable = false, length = 10)
    private String jobCd;


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


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


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


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


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


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


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


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


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


    @Column(name = "reg_dt", nullable = true)
    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 = "org_cd", nullable = true)
    private String orgCd;


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


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


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



    /* =================================================
    * 2023.02.14. 페이결제 진행 시 민자사 호출을 위해 추가 함
    ================================================= */
    
    @Column(name = "bp_entrust_yn", nullable = true, length = 1)
    @Setter
    private String bpEntrustYn;
    
    @Column(name = "bp_kko_prepay_api", nullable = true)
    @Setter
    private String bpKkoPrepayApi;
    
    @Column(name = "bp_kko_payresult_api", nullable = true)
    @Setter
    private String bpKkoPayresultApi;
    
    @Column(name = "bp_nv_prepay_api", nullable = true)
    @Setter
    private String bpNvPrepayApi;
    
    @Column(name = "bp_nv_payresult_api", nullable = true)
    @Setter
    private String bpNvPayresultApi;

}
