package com.ruoyi.tms.domain; import com.fasterxml.jackson.annotation.JsonFormat; import java.math.BigDecimal; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; import com.ruoyi.common.annotation.Excel; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableField; import java.util.Date; import lombok.Data; /** * 托架管理对象 tms_shelf * * @author ruoyi * @date 2025-11-03 */ @Data public class TmsShelf { /** * 主键ID */ @TableId(value = "id", type = IdType.AUTO) private Integer id; /** * 系统编号,新增时自动填写 */ @Excel(name = "系统编号,新增时自动填写") @TableField("system_code") private String systemCode; /** * 托架编号,唯一标识 */ @Excel(name = "托架编号,唯一标识") @TableField("shelf_code") private String shelfCode; /** * 自营类型 */ @TableField("self_leas_type") private Integer selfLeasType; /** * 托架类型 */ @Excel(name = "托架类型") @TableField("shelf_type") private Integer shelfType; /** * 产权归属 */ @Excel(name = "产权归属") @TableField("owner_team_id") private String ownerTeamId; @TableField("owner_team_name") private String ownerTeamName; /** * 生产厂商 */ @Excel(name = "生产厂商") @TableField("manufacturer") private String manufacturer; /** * 生产日期 */ @JsonFormat(pattern = "yyyy-MM-dd") @TableField("manufacture_date") private Date manufactureDate; /** * 托架长度(mm) */ @TableField("length_mm") private BigDecimal lengthMm; /** * 托架宽度(mm) */ @TableField("width_mm") private BigDecimal widthMm; /** * 托架高度(mm) */ @TableField("height_mm") private BigDecimal heightMm; /** * 承载重量(Kg) */ @Excel(name = "承载重量", readConverterExp = "K=g") @TableField("max_load_kg") private BigDecimal maxLoadKg; /** * 适配集装箱类型 */ @Excel(name = "适配集装箱类型") @TableField("compatible_container_type") private String compatibleContainerType; /** * 是否在用 */ @Excel(name = "是否在用") @TableField("is_in_use") private Integer isInUse; /** * 维护状态 */ @Excel(name = "维护状态") @TableField("maintenance_status") private Integer maintenanceStatus; /** * 最近维护日期 */ @JsonFormat(pattern = "yyyy-MM-dd") @TableField("last_maintenance_date") private Date lastMaintenanceDate; /** * 下次维护日期 */ @JsonFormat(pattern = "yyyy-MM-dd") @TableField("next_maintenance_date") private Date nextMaintenanceDate; /** * 状态 */ @Excel(name = "状态") @TableField("status") private Integer status; /** * 创建人 */ @TableField("create_by") private String createBy; /** * 创建时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @TableField("create_time") private Date createTime; /** * 更新人 */ @Excel(name = "更新人") @TableField("update_by") private String updateBy; /** * 更新时间 */ @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @TableField("update_time") private Date updateTime; /** * 备注 */ @TableField("remark") private String remark; }