package com.sunxung.factoring.entity.purchcontractmanagement;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sunxung.factoring.entity.BaseEntity;
import com.sunxung.factoring.entity.sys.FileStorage;

import java.util.List;

/**
 * <p>
 * 采购合同-补充签署审核表
 * </p>
 *
 * @author daxian
 * @since 2022-03-15
 */
@TableName("purch_contract_supplement_sign_approval")
public class PurchContractSupplementSignApproval extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 采购补充合同信息表Id
     */
    @TableField("purch_contract_supplement_info_id")
    private Long purchContractSupplementInfoId;

    /**
     * 审批意见
     */
    @TableField("approval_comment")
    private String approvalComment;

    /**
     * 审批结论
     */
    @TableField("approval_conclusion")
    private String approvalConclusion;

    /**
     * 审核人Id
     */
    @TableField("auditor_id")
    private Long auditorId;


    /** 签署文件名 **/
    @TableField(exist = false)
    List<FileStorage> fileStorageList;

    @TableField(exist = false)
    private Integer online;

    @TableField(exist = false)
    private Long businessKey;

    @TableField(exist = false)
    private String taskId;

    public Integer getOnline() {
        return online;
    }

    public void setOnline(Integer online) {
        this.online = online;
    }


    public PurchContractSupplementSignApproval() {
    }

    public Long getPurchContractSupplementInfoId() {
        return purchContractSupplementInfoId;
    }

    public void setPurchContractSupplementInfoId(Long purchContractSupplementInfoId) {
        this.purchContractSupplementInfoId = purchContractSupplementInfoId;
    }
    public String getApprovalComment() {
        return approvalComment;
    }

    public void setApprovalComment(String approvalComment) {
        this.approvalComment = approvalComment;
    }
    public String getApprovalConclusion() {
        return approvalConclusion;
    }

    public void setApprovalConclusion(String approvalConclusion) {
        this.approvalConclusion = approvalConclusion;
    }
    public Long getAuditorId() {
        return auditorId;
    }

    public void setAuditorId(Long auditorId) {
        this.auditorId = auditorId;
    }

    public List<FileStorage> getFileStorageList() {
        return fileStorageList;
    }

    public void setFileStorageList(List<FileStorage> fileStorageList) {
        this.fileStorageList = fileStorageList;
    }

    public Long getBusinessKey() {
        return businessKey;
    }

    public void setBusinessKey(Long businessKey) {
        this.businessKey = businessKey;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    @Override
    public String toString() {
        return "PurchContractSupplementSignApproval{" +
            "purchContractSupplementInfoId=" + purchContractSupplementInfoId +
            ", approvalComment=" + approvalComment +
            ", approvalConclusion=" + approvalConclusion +
            ", auditorId=" + auditorId +
        "}";
    }
}
