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_product_info
|
*
|
* @author ruoyi
|
* @date 2025-11-04
|
*/
|
@Data
|
public class TmsProductInfo {
|
|
|
/**
|
* 自增ID
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
|
|
/**
|
* 所属客户
|
*/
|
@Excel(name = "所属客户")
|
@TableField("customer_id")
|
private Integer customerId;
|
|
|
/**
|
* 所属客户
|
*/
|
@Excel(name = "所属客户")
|
@TableField("customer")
|
private String customer;
|
|
|
/**
|
* 货品编码
|
*/
|
@Excel(name = "货品编码")
|
@TableField("product_code")
|
private String productCode;
|
|
|
/**
|
* 货品名称
|
*/
|
@Excel(name = "货品名称")
|
@TableField("product_name")
|
private String productName;
|
|
|
/**
|
* 货品重量(Kg)
|
*/
|
@Excel(name = "货品重量", readConverterExp = "K=g")
|
@TableField("gross_weight")
|
private BigDecimal grossWeight;
|
|
|
/**
|
* 货品净重(Kg)
|
*/
|
@Excel(name = "货品净重", readConverterExp = "K=g")
|
@TableField("net_weight")
|
private BigDecimal netWeight;
|
|
|
/**
|
* 货品体积(m³)
|
*/
|
@Excel(name = "货品体积", readConverterExp = "m=³")
|
@TableField("volume")
|
private BigDecimal volume;
|
|
|
/**
|
* 商品规格型号
|
*/
|
@Excel(name = "商品规格型号")
|
@TableField("spec_model")
|
private String specModel;
|
|
|
/**
|
* 货品类型
|
*/
|
@Excel(name = "货品类型")
|
@TableField("product_type")
|
private String productType;
|
|
|
/**
|
* 包装单位,枚举,包装单位字典
|
*/
|
@Excel(name = "包装单位,枚举,包装单位字典")
|
@TableField("pack_unit")
|
private String packUnit;
|
|
|
/**
|
* 包装长(mm)
|
*/
|
@Excel(name = "包装长", readConverterExp = "m=m")
|
@TableField("pack_length")
|
private BigDecimal packLength;
|
|
|
/**
|
* 包装宽(mm)
|
*/
|
@Excel(name = "包装宽", readConverterExp = "m=m")
|
@TableField("pack_width")
|
private BigDecimal packWidth;
|
|
|
/**
|
* 包装高(mm)
|
*/
|
@Excel(name = "包装高", readConverterExp = "m=m")
|
@TableField("pack_height")
|
private BigDecimal packHeight;
|
|
|
/**
|
* 温度要求
|
*/
|
@TableField("temperature_required")
|
private Integer temperatureRequired;
|
|
|
/**
|
* 最高温度(℃)
|
*/
|
@TableField("max_temperature")
|
private BigDecimal maxTemperature;
|
|
|
/**
|
* 最低温度(℃)
|
*/
|
@TableField("min_temperature")
|
private BigDecimal minTemperature;
|
|
|
/**
|
* 最高湿度(RH)
|
*/
|
@TableField("max_humidity")
|
private BigDecimal maxHumidity;
|
|
|
/**
|
* 最低湿度(RH)
|
*/
|
@TableField("min_humidity")
|
private BigDecimal minHumidity;
|
|
|
/**
|
* 是否危险品
|
*/
|
@TableField("is_hazardous")
|
private Integer isHazardous;
|
|
|
/**
|
* 状态
|
*/
|
@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;
|
|
|
/**
|
* 更新时间,新增/修改自动填写
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@Excel(name = "更新时间,新增/修改自动填写", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
@TableField("update_time")
|
private Date updateTime;
|
|
|
/**
|
* 备注
|
*/
|
@TableField("remark")
|
private String remark;
|
|
|
}
|