package com.ruoyi.tms.domain; import com.fasterxml.jackson.annotation.JsonFormat; import java.math.BigDecimal; 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_goods_detail * * @author ruoyi * @date 2025-11-18 */ @Data public class TmsGoodsDetail { /** * 主键ID */ @TableId(value = "id", type = IdType.AUTO) private Integer id; /** * 调度单号ID */ @Excel(name = "调度单号ID") @TableField("dispatch_id") private Integer dispatchId; /** * 调度单号,由调度单数据生成 */ @Excel(name = "调度单号,由调度单数据生成") @TableField("dispatch_no") private String dispatchNo; /** * 货物ID */ @Excel(name = "货物ID") @TableField("product_id") private Integer productId; /** * 数量 */ @Excel(name = "数量") @TableField("quantity") private BigDecimal quantity; /** * 货品名称 */ @Excel(name = "货品名称") @TableField("product_name") private String productName; /** * 货品类型 */ @Excel(name = "货品类型") @TableField("product_type") private String productType; /** * 重量(kg) */ @Excel(name = "重量(kg)") @TableField("sum_weight") private BigDecimal sumWeight; /** * 净重(kg) */ @Excel(name = "净重(kg)") @TableField("net_weight") private BigDecimal netWeight; /** * 净重(kg) */ @Excel(name = "净重(kg)") @TableField("sum_net_weight") private BigDecimal sumNetWeight; /** * 体积(m³) */ @Excel(name = "体积(m³)") @TableField("volume") private BigDecimal volume; /** * 体积(m³) */ @Excel(name = "体积(m³)") @TableField("sum_volume") private BigDecimal sumVolume; /** * 散件数 */ @Excel(name = "散件数") @TableField("loose_pieces") private Integer loosePieces; /** * 整箱数 */ @Excel(name = "整箱数") @TableField("full_containers") private Integer fullContainers; /** * 集装箱号 */ @Excel(name = "集装箱号") @TableField("container_no") private String containerNo; /** * 托数 */ @Excel(name = "托数") @TableField("pallet_count") private Integer palletCount; /** * 创建人,新增时自动填写 */ @TableField("create_by") private String createBy; /** * 创建时间,新增时自动填写 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @TableField("create_time") private Date createTime; /** * 更新人,新增时自动填写,被修改时自动更新 */ @TableField("update_by") private String updateBy; /** * 更新时间,新增时自动填写,被修改时自动更新 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @TableField("update_time") private Date updateTime; /** * 备注 */ @Excel(name = "备注") @TableField("remark") private String remark; /** * 记录状态,0=正常,1=作废 */ @Excel(name = "记录状态,0=正常,1=作废") @TableField("record_status") private Integer recordStatus; /** * 包装单位 */ @Excel(name = "包装单位") @TableField("pack_unit") private String packUnit; /** * 单个货品重量 */ @Excel(name = "单个货品重量") @TableField("gross_weight") private BigDecimal grossWeight; }