6 天以前 d3a5c4420a7daf89bc9832f22ca8ed9d7e1adaf9
src/main/java/com/ruoyi/basic/pojo/ProductModel.java
@@ -5,6 +5,9 @@
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;
@Data
@TableName("product_model")
public class ProductModel {
@@ -16,6 +19,9 @@
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    @ApiModelProperty(value = "工艺路线id")
    private Long routeId;
    /**
     * 关联产品id
@@ -30,7 +36,7 @@
    /**
     * 规格型号
     */
    @Excel(name = "规格型号")
    @Excel(name = "图纸编号")
    private String model;
    /**
@@ -39,7 +45,32 @@
    @Excel(name = "单位")
    private String unit;
    /**
     * 生产炒机
     */
    @Excel(name = "生产炒机")
    private String speculativeTradingName;
    @ApiModelProperty(value = "租户ID")
    @TableField(fill = FieldFill.INSERT)
    private Long tenantId;
    @TableField(exist = false)
    @Excel(name = "入库数量")
    private BigDecimal inboundNum;
    @TableField(exist = false)
    @Excel(name = "出库数量")
    private BigDecimal outboundNum;
    @TableField(exist = false)
    @Excel(name = "剩余库存")
    private BigDecimal stockQuantity;
    @ApiModelProperty(value = "规格型号")
    @Excel(name = "规格型号")
    private String drawingNumber;
    @TableField(exist = false)
    private LocalDateTime createTime;
    @ApiModelProperty(value = "产品类型(1-物料,2-产品)")
    private Integer productType;
}