- 移除了 WmsDeliveryWaybillBo 中所有字段的非空校验注解 - 移除了 WmsDeliveryWaybillDetailBo 中所有字段的非空校验注解 - 修正了 WmsDeliveryPlanMapper.xml 中 total_weight 的计算方式, 由 SUM(weight/1000.0) 改为 SUM(weight)
100 lines
1.6 KiB
Java
100 lines
1.6 KiB
Java
package com.klp.domain.bo;
|
||
|
||
import com.klp.common.core.domain.BaseEntity;
|
||
import com.klp.common.core.validate.AddGroup;
|
||
import com.klp.common.core.validate.EditGroup;
|
||
import lombok.Data;
|
||
import lombok.EqualsAndHashCode;
|
||
import javax.validation.constraints.*;
|
||
|
||
import java.math.BigDecimal;
|
||
|
||
/**
|
||
* 发货单明细业务对象 wms_delivery_waybill_detail
|
||
*
|
||
* @author klp
|
||
* @date 2025-11-25
|
||
*/
|
||
|
||
@Data
|
||
@EqualsAndHashCode(callSuper = true)
|
||
public class WmsDeliveryWaybillDetailBo extends BaseEntity {
|
||
|
||
/**
|
||
* 明细唯一ID
|
||
*/
|
||
private Long detailId;
|
||
|
||
/**
|
||
* 关联发货单主表ID
|
||
*/
|
||
private Long waybillId;
|
||
|
||
/**
|
||
* 关联钢卷表ID(钢卷基础信息在钢卷表中)
|
||
*/
|
||
private Long coilId;
|
||
|
||
/**
|
||
* 品名(如:冷硬钢卷、冷轧钢卷)
|
||
*/
|
||
private String productName;
|
||
|
||
/**
|
||
* 切边(净边/毛边)
|
||
*/
|
||
private String edgeType;
|
||
|
||
/**
|
||
* 包装(裸包/简包1/精包2等)
|
||
*/
|
||
private String packaging;
|
||
|
||
/**
|
||
* 结算方式(卷重/磅重)
|
||
*/
|
||
private String settlementType;
|
||
|
||
/**
|
||
* 原料厂家
|
||
*/
|
||
private String rawMaterialFactory;
|
||
|
||
/**
|
||
* 卷号
|
||
*/
|
||
private String coilNo;
|
||
|
||
/**
|
||
* 规格
|
||
*/
|
||
private String specification;
|
||
|
||
/**
|
||
* 材质
|
||
*/
|
||
private String material;
|
||
|
||
/**
|
||
* 数量(件)
|
||
*/
|
||
private Long quantity;
|
||
|
||
/**
|
||
* 重量(kg)
|
||
*/
|
||
private BigDecimal weight;
|
||
|
||
/**
|
||
* 单价
|
||
*/
|
||
private BigDecimal unitPrice;
|
||
|
||
/**
|
||
* 备注
|
||
*/
|
||
private String remark;
|
||
|
||
|
||
}
|