package com.sunda.spmsorder.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 请购场景表明细
 * </p>
 *
 * @author Wayne
 * @since 2021-03-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("SHOPPING_SCENARIO_DTL")
@ApiModel(value="ShoppingScenarioDtl对象", description="请购场景表明细")
public class ShoppingScenarioDtl implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "表头UUID，唯一关联字段")
    @TableField("UUID")
    private String uuid;

    @ApiModelProperty(value = "行编号")
    @TableField("SSD_ROW_ID")
    private Integer ssdRowId;

    @ApiModelProperty(value = "物料编号")
    @TableField("MATERIAL_NO")
    private String materialNo;

    @ApiModelProperty(value = "数量")
    @TableField("QUANTITY")
    private Double quantity;

    @ApiModelProperty(value = "长协编号")
    @TableField("LONG_CONTRACT_CODE")
    private String longContractCode;

    @ApiModelProperty(value = "品牌")
    @TableField("BRAND")
    private String brand;


    @ApiModelProperty(value = "设备部位")
    @TableField("EQUIPMENT_PARTS")
    private String equipmentParts;

    @ApiModelProperty(value = "安全库存")
    @TableField("SAFETY_QTY_BASIC_UNIT")
    private Double safetyQtyBasicUnit;

    @ApiModelProperty(value = "安全库存年限")
    @TableField("SAFETY_INVENTORY_YEAR")
    private Double safetyInventoryYear;

    @ApiModelProperty(value = "上年度使用量")
    @TableField("STANDARD_CONSUMPTION_LAST_YEAR")
    private Double standardConsumptionLastYear;

    @ApiModelProperty(value = "仓库库存")
    @TableField("INVENTORY_QUANTITY")
    private Double inventoryQuantity;

    @ApiModelProperty(value = "在途库存")
    @TableField("WAY_QUANTITY")
    private Double wayQuantity;

    @ApiModelProperty(value = "补充数量")
    @TableField("SUPPLEMENT_QUANTITY")
    private Double supplementQuantity;

    @ApiModelProperty(value = "集中采购")
    @TableField("CENTRALIZED_PROCUREMENT")
    private String centralizedProcurement;

    @ApiModelProperty(value = "战略物资")
    @TableField("STRATEGIC_GOODS")
    private String strategicGoods;
    
    @ApiModelProperty(value = "易损件")
    @TableField("WEARING_PARTS")
    private String wearingParts;
    
    @ApiModelProperty(value = "常用件")
    @TableField("COMMON_PARTS")
    private String commonParts;
    
    @ApiModelProperty(value = "行备注")
    @TableField("ROW_COMMENT")
    private String rowComment;



    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public Integer getSsdRowId() {
        return ssdRowId;
    }

    public void setSsdRowId(Integer ssdRowId) {
        this.ssdRowId = ssdRowId;
    }

    public String getMaterialNo() {
        return materialNo;
    }

    public void setMaterialNo(String materialNo) {
        this.materialNo = materialNo;
    }

    public Double getQuantity() {
        return quantity;
    }

    public void setQuantity(Double quantity) {
        this.quantity = quantity;
    }

    public String getLongContractCode() {
        return longContractCode;
    }

    public void setLongContractCode(String longContractCode) {
        this.longContractCode = longContractCode;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getEquipmentParts() {
        return equipmentParts;
    }

    public void setEquipmentParts(String equipmentParts) {
        this.equipmentParts = equipmentParts;
    }

    public Double getSafetyQtyBasicUnit() {
        return safetyQtyBasicUnit;
    }

    public void setSafetyQtyBasicUnit(Double safetyQtyBasicUnit) {
        this.safetyQtyBasicUnit = safetyQtyBasicUnit;
    }

    public Double getSafetyInventoryYear() {
        return safetyInventoryYear;
    }

    public void setSafetyInventoryYear(Double safetyInventoryYear) {
        this.safetyInventoryYear = safetyInventoryYear;
    }

    public Double getStandardConsumptionLastYear() {
        return standardConsumptionLastYear;
    }

    public void setStandardConsumptionLastYear(Double standardConsumptionLastYear) {
        this.standardConsumptionLastYear = standardConsumptionLastYear;
    }

    public Double getInventoryQuantity() {
        return inventoryQuantity;
    }

    public void setInventoryQuantity(Double inventoryQuantity) {
        this.inventoryQuantity = inventoryQuantity;
    }

    public Double getWayQuantity() {
        return wayQuantity;
    }

    public void setWayQuantity(Double wayQuantity) {
        this.wayQuantity = wayQuantity;
    }

    public Double getSupplementQuantity() {
        return supplementQuantity;
    }

    public void setSupplementQuantity(Double supplementQuantity) {
        this.supplementQuantity = supplementQuantity;
    }

    public String getCentralizedProcurement() {
        return centralizedProcurement;
    }

    public void setCentralizedProcurement(String centralizedProcurement) {
        this.centralizedProcurement = centralizedProcurement;
    }

    public String getStrategicGoods() {
        return strategicGoods;
    }

    public void setStrategicGoods(String strategicGoods) {
        this.strategicGoods = strategicGoods;
    }

    @Override
    public String toString() {
        return "ShoppingScenarioDtl{" +
                "uuid='" + uuid + '\'' +
                ", ssdRowId=" + ssdRowId +
                ", materialNo='" + materialNo + '\'' +
                ", quantity=" + quantity +
                ", longContractCode='" + longContractCode + '\'' +
                ", brand='" + brand + '\'' +
                ", equipmentParts='" + equipmentParts + '\'' +
                ", safetyQtyBasicUnit='" + safetyQtyBasicUnit + '\'' +
                ", safetyInventoryYear='" + safetyInventoryYear + '\'' +
                ", standardConsumptionLastYear='" + standardConsumptionLastYear + '\'' +
                ", inventoryQuantity='" + inventoryQuantity + '\'' +
                ", wayQuantity='" + wayQuantity + '\'' +
                ", supplementQuantity='" + supplementQuantity + '\'' +
                ", centralizedProcurement='" + centralizedProcurement + '\'' +
                ", strategicGoods='" + strategicGoods + '\'' +
                '}';
    }
}
