package com.jwipc.supplier.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;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhangjie
 * @since 2024-03-19
 */
@Getter
@Setter
@TableName("t_supplier_sqe_score")
public class SupplierSqeScore implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 供应商id，关联供应商主数据
     */
    private Long supplierId;

    /**
     * 供应商等级
     */
    private String supplierLevel;

    /**
     * 供应商劣势
     */
    private String supplierWeakness;

    /**
     * 供应商优势
     */
    private String supplierStrength;

    /**
     * QPA评分
     */
    private BigDecimal qpaScore;

    /**
     * QSA评分
     */
    private BigDecimal qsaScore;

    /**
     * 采购价格评分
     */
    private BigDecimal purchasePriceScore;

    /**
     * 采购评分
     */
    private BigDecimal purchaseScore;

    /**
     * 非制造商采购评分
     */
    private BigDecimal nonManufacturerPurchaseScore;

    /**
     * 研发评分
     */
    private BigDecimal rdScore;

    /**
     * 总评分
     */
    private BigDecimal totalScore;

    /**
     * 创建人
     */
    private Long createId;

    private LocalDateTime createTime;
}
