yaowanxin
6 小时以前 3257a0d66eb770cd4a4bba4b48ddf26ec6d6c046
src/main/java/com/ruoyi/basic/pojo/ProductModel.java
@@ -1,8 +1,11 @@
package com.ruoyi.basic.pojo;
import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
@Data
@TableName("product_model")
@@ -19,19 +22,44 @@
    /**
     * 关联产品id
     */
    @Excel(name = "关联产品id")
    private Long productId;
    @TableField(exist = false)
    @Excel(name = "产品名称")
    private String productName;
    @Excel(name = "产品编码")
    private String productCode;
    /**
     * 规格型号
     */
    @Excel(name = "规格型号")
    private String model;
    /**
     * 单位
     */
    @Excel(name = "单位")
    private String unit;
    /**
     * 生产炒机
     */
    @Excel(name = "生产炒机")
    private String speculativeTradingName;
    @ApiModelProperty(value = "租户ID")
    @TableField(fill = FieldFill.INSERT)
    private Integer tenantId;
    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;
}