package com.sunxung.factoring.entity.supplier;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sunxung.factoring.entity.sys.FileStorageDO;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 上游采购单据
 * </p>
 *
 * @author liutao
 * @since 2023-12-05
 */
@TableName("upstream_procurement_documents")
public class UpstreamProcurementDocuments {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * c端 上游采购单据id
     */
    @TableField("c_upstream_procurement_documents_history_id")
    private Long cUpstreamProcurementDocumentsHistoryId;

    /**
     * 合作企业名称
     */
    @TableField("name")
    private String name;

    /**
     * 是否达标 0不达标 1达标
     */
    @TableField("compliance")
    private Integer compliance;

    /**
     * 供应商审核第二步id
     */
    @TableField("supplier_approval_second_id")
    private Long supplierApprovalSecondId;

    /**
     * 视频尽调-准入结论 0否 1是
     */
    @TableField("result")
    private Integer result;

    /**
     * 得分
     */
    @TableField("score")
    private BigDecimal score;

    /**
     * 标准得分
     */
    @TableField(exist = false)
    private BigDecimal standardScore;

    public BigDecimal getStandardScore() {
        return standardScore;
    }

    public void setStandardScore(BigDecimal standardScore) {
        this.standardScore = standardScore;
    }

    @TableField(exist = false)
    private List<FileStorageDO> fileStorageDOS ;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public BigDecimal getScore() {
        return score;
    }

    public void setScore(BigDecimal score) {
        this.score = score;
    }

    public List<FileStorageDO> getFileStorageDOS() {
        return fileStorageDOS;
    }

    public void setFileStorageDOS(List<FileStorageDO> fileStorageDOS) {
        this.fileStorageDOS = fileStorageDOS;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getcUpstreamProcurementDocumentsHistoryId() {
        return cUpstreamProcurementDocumentsHistoryId;
    }

    public void setcUpstreamProcurementDocumentsHistoryId(Long cUpstreamProcurementDocumentsHistoryId) {
        this.cUpstreamProcurementDocumentsHistoryId = cUpstreamProcurementDocumentsHistoryId;
    }

    public Integer getCompliance() {
        return compliance;
    }

    public void setCompliance(Integer compliance) {
        this.compliance = compliance;
    }
    public Long getSupplierApprovalSecondId() {
        return supplierApprovalSecondId;
    }

    public void setSupplierApprovalSecondId(Long supplierApprovalSecondId) {
        this.supplierApprovalSecondId = supplierApprovalSecondId;
    }
    public Integer getResult() {
        return result;
    }

    public void setResult(Integer result) {
        this.result = result;
    }

}
