cuijian
2025-06-16 e0529614c187a5457ca3f587a16edeec51d69d15
lxzn-module-tms/src/main/java/org/jeecg/modules/tms/entity/ToolLedgerDetail.java
@@ -4,10 +4,8 @@
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
@@ -36,18 +34,26 @@
   @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键id")
    private String id;
   /**工具编码*/
   /**工具编码(关联字段)*/
   @Excel(name = "工具编码", width = 15)
    @ApiModelProperty(value = "工具编码")
    @ApiModelProperty(value = "工具编码(关联字段,存tms_base_tools表主键id)")
    private String toolCode;
    /**工具编码*/
    @ApiModelProperty(value = "工具编码(tms_base_tools表tool_code字段)")
    @TableField(exist = false)
    private String toolNum;
   /**工具编号*/
   @Excel(name = "工具编号", width = 15)
    @ApiModelProperty(value = "工具编号")
    private String toolId;
    /**工具中文名称*/
    @TableField(exist = false)
    @ApiModelProperty(value = "工具中文名称")
    private String toolName;
   /**数量*/
   @Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
    private Integer quantity;
    private BigDecimal quantity;
   /**状态*/
   @Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
@@ -56,6 +62,10 @@
   @Excel(name = "库区/库号", width = 15)
    @ApiModelProperty(value = "库区/库号")
    private String warehouseId;
    /**仓库名称*/
    @TableField(exist = false)
    @ApiModelProperty(value = "仓库名称")
    private String warehouseName;
   /**库位号*/
   @Excel(name = "库位号", width = 15)
    @ApiModelProperty(value = "库位号")
@@ -80,4 +90,23 @@
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    @TableField(exist = false)
    @ApiModelProperty(value = "型号/图号")
    private String toolModel;
    /**额定寿命*/
    @Excel(name = "额定寿命", width = 15)
    @ApiModelProperty(value = "额定寿命")
    private BigDecimal ratedLife;
    /**使用寿命*/
    @Excel(name = "使用寿命", width = 15)
    @ApiModelProperty(value = "使用寿命")
    private BigDecimal useLife;
    /**剩余寿命*/
    @Excel(name = "剩余寿命", width = 15)
    @ApiModelProperty(value = "剩余寿命")
    private BigDecimal remainingPercentage;
}