package com.jwipc.spe.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 供应商绩效考核计划与供应商关系表
 * </p>
 *
 * @author zhangjie
 * @since 2024-03-11
 */
@Getter
@Setter
@TableName("sup_appraise_plan_supplier")
public class SupAppraisePlanSupplier implements Serializable {

    private static final long serialVersionUID = 1L;

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

    private Long planId;

    /**
     * 供应商主键
     */
    private Long supplierId;

    /**
     * 删除标记 0:未删除 1:已删除
     */
    private Integer deleteFlag;

    /**
     * 数据状态 0:新建 2:已提交整改
     */
    private Integer status;

    /**
     * 数据状态 0 未评分 1已评分  2 评分中
     */
    private Integer evaluateState;

    /**
     * 综合评价意见
     */
    private String opinionEvaluation;

    /**
     * 备注
     */
    private String remark;

    /**
     * 总分
     */
    private String allScore;

    /**
     * 加权得分
     */
    private String weightScore;

    /**
     * 等级   A ,B ,C ,D
     */
    private String grade;

    /**
     * 公司编码
     */
    private String companyCode;
    /**
     *
     */
    private Integer cdFlag;
}
