liyong
2026-04-30 6b614c1a3597cda30ab992357544ff0db31e08ee
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 {
@@ -39,7 +42,41 @@
    @Excel(name = "单位")
    private String unit;
    @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;
    @TableField(exist = false)
    private LocalDateTime createTime;
    @ApiModelProperty(value = "创建用户")
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;
    @ApiModelProperty("顶部父产品id")
    @TableField(exist = false)
    private Long topProductParentId;
    @ApiModelProperty(value = "单价")
    @Excel(name = "单价")
    private BigDecimal price;
    @ApiModelProperty(value = "库存预警值")
    @Excel(name = "库存预警值")
    private BigDecimal stockWarningValue;
}