| | |
| | | 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; |
| | |
| | | @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 = "状态") |
| | |
| | | @Excel(name = "库区/库号", width = 15) |
| | | @ApiModelProperty(value = "库区/库号") |
| | | private String warehouseId; |
| | | /**仓库名称*/ |
| | | @TableField(exist = false) |
| | | @ApiModelProperty(value = "仓库名称") |
| | | private String warehouseName; |
| | | /**库位号*/ |
| | | @Excel(name = "库位号", width = 15) |
| | | @ApiModelProperty(value = "库位号") |
| | |
| | | @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; |
| | | } |