package com.ruoyi.production.pojo; import com.baomidou.mybatisplus.annotation.*; import lombok.Data; import java.math.BigDecimal; import java.time.LocalDateTime; /** * @author :yys * @date : 2025/11/11 15:38 */ @TableName("speculative_trading_info") @Data public class SpeculativeTradingInfo { private static final long serialVersionUID = 1L; @TableId(value = "id", type = IdType.AUTO) private Long id; /** * 炒机名称 */ private String name; /** * 炒机工作量(单位kg) */ private BigDecimal workLoad; /** * 排序 */ private Integer sort; /** * 炒机正在工作量(单位kg) */ @TableField(exist = false) private BigDecimal currentWorkLoad; /** * 炒机空余工作量(单位kg) */ @TableField(exist = false) private BigDecimal vacant; /** * 创建者 */ @TableField(fill = FieldFill.INSERT) private Integer createUser; /** * 创建时间 */ @TableField(fill = FieldFill.INSERT) private LocalDateTime createTime; /** * 修改者 */ @TableField(fill = FieldFill.INSERT_UPDATE) private Integer updateUser; /** * 修改时间 */ @TableField(fill = FieldFill.INSERT_UPDATE) private LocalDateTime updateTime; /** * 租户ID */ @TableField(fill = FieldFill.INSERT) private Long tenantId; }