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; import java.time.LocalDateTime; @Data @TableName("product_model") public class ProductModel { private static final long serialVersionUID = 1L; /** * 序号 */ @TableId(type = IdType.AUTO) private Long id; /** * 关联产品id */ @Excel(name = "关联产品id") private Long productId; @TableField(exist = false) @Excel(name = "产品名称") private String productName; /** * 规格型号 */ @Excel(name = "规格型号") private String model; /** * 单位 */ @Excel(name = "单位") private String unit; /** * 生产炒机 */ // @Excel(name = "生产炒机") private String speculativeTradingName; /** * 产品图片 */ // @Excel(name = "产品图片") private String url; /** * 产品高度 */ @Excel(name = "产品高度") private String height; /** * 每件数量/支 */ @Excel(name = "每件数量/支") private String boxNum; /** * 单价(美元)/件 */ @Excel(name = "单价(美元)/件") private String dollarPrice; /** * 单价(元)/件 */ @Excel(name = "单价(元)/件") private String taxInclusiveUnitPrice; @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; }