package com.inkasso.factoring.acceptanceManagement.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.inkasso.factoring.common.entity.BaseEntity;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 验收单签署确认合同信息表
 * </p>
 *
 * @author yafan
 * @since 2023-11-30
 */
@TableName("c_acceptance_sign_confirmation_electronic_info")
public class CAcceptanceSignConfirmationElectronicInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 验收单签署确认表Id
     */
    @TableField("c_acceptance_sign_confirmation_id")
    private Long cAcceptanceSignConfirmationId;

    /**
     * 合同名称
     */
    @TableField("contract_name")
    private String contractName;

    /**
     * 合同id
     */
    @TableField("contract_id")
    private String contractId;

    /**
     * 电子签文件
     */
    @TableField("file_id")
    private Long fileId;

    /**
     * 电子签个人信息表Id
     */
    @TableField("electronic_signature_personal_id")
    private Long electronicSignaturePersonalId;

    /**
     * 客户合同交易id
     */
    @TableField("transaction_id")
    private String transactionId;

    /**
     * 客户签署状态
     */
    @TableField("sign_status")
    private Integer signStatus;

    /**
     * 电子签回调文件
     */
    @TableField("back_file_id")
    private Long backFileId;

    /**
     * 出证电子签文件
     */
    @TableField("report_file_id")
    private Long reportFileId;

    @TableField("call_back")
    private Integer  callBack;

    public Long getcAcceptanceSignConfirmationId() {
        return cAcceptanceSignConfirmationId;
    }

    public void setcAcceptanceSignConfirmationId(Long cAcceptanceSignConfirmationId) {
        this.cAcceptanceSignConfirmationId = cAcceptanceSignConfirmationId;
    }
    public String getContractName() {
        return contractName;
    }

    public void setContractName(String contractName) {
        this.contractName = contractName;
    }
    public String getContractId() {
        return contractId;
    }

    public void setContractId(String contractId) {
        this.contractId = contractId;
    }
    public Long getFileId() {
        return fileId;
    }

    public void setFileId(Long fileId) {
        this.fileId = fileId;
    }
    public Long getElectronicSignaturePersonalId() {
        return electronicSignaturePersonalId;
    }

    public void setElectronicSignaturePersonalId(Long electronicSignaturePersonalId) {
        this.electronicSignaturePersonalId = electronicSignaturePersonalId;
    }
    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    public Integer getSignStatus() {
        return signStatus;
    }

    public void setSignStatus(Integer signStatus) {
        this.signStatus = signStatus;
    }

    public Long getBackFileId() {
        return backFileId;
    }

    public void setBackFileId(Long backFileId) {
        this.backFileId = backFileId;
    }
    public Long getReportFileId() {
        return reportFileId;
    }

    public void setReportFileId(Long reportFileId) {
        this.reportFileId = reportFileId;
    }

    public Integer getCallBack() {
        return callBack;
    }

    public void setCallBack(Integer callBack) {
        this.callBack = callBack;
    }

    @Override
    public String toString() {
        return "CAcceptanceSignConfirmationElectronicInfo{" +
            ", cAcceptanceSignConfirmationId=" + cAcceptanceSignConfirmationId +
            ", contractName=" + contractName +
            ", contractId=" + contractId +
            ", fileId=" + fileId +
            ", electronicSignaturePersonalId=" + electronicSignaturePersonalId +
            ", transactionId=" + transactionId +
            ", signStatus=" + signStatus +
            ", backFileId=" + backFileId +
            ", reportFileId=" + reportFileId +
        "}";
    }
}
