2025-11-25 15:44:19 +08:00
|
|
|
|
package com.klp.domain.vo;
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
|
|
|
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
|
|
|
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
|
|
|
import com.klp.common.annotation.ExcelDictFormat;
|
|
|
|
|
|
import com.klp.common.convert.ExcelDictConvert;
|
2025-11-25 16:26:17 +08:00
|
|
|
|
import com.klp.common.core.domain.BaseEntity;
|
2025-11-25 15:44:19 +08:00
|
|
|
|
import lombok.Data;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 发货单主视图对象 wms_delivery_waybill
|
|
|
|
|
|
*
|
|
|
|
|
|
* @author klp
|
|
|
|
|
|
* @date 2025-11-25
|
|
|
|
|
|
*/
|
|
|
|
|
|
@Data
|
|
|
|
|
|
@ExcelIgnoreUnannotated
|
2025-11-25 16:26:17 +08:00
|
|
|
|
public class WmsDeliveryWaybillVo extends BaseEntity {
|
2025-11-25 15:44:19 +08:00
|
|
|
|
|
|
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 发货单唯一ID
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "发货单唯一ID")
|
|
|
|
|
|
private Long waybillId;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 发货单编号(格式:WB-YYYYMMDD-XXXX,如WB-20251125-0001)
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "发货单编号", converter = ExcelDictConvert.class)
|
|
|
|
|
|
@ExcelDictFormat(readConverterExp = "格=式:WB-YYYYMMDD-XXXX,如WB-20251125-0001")
|
|
|
|
|
|
private String waybillNo;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 发货单名称
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "发货单名称")
|
|
|
|
|
|
private String waybillName;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 关联发货计划ID
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "关联发货计划ID")
|
|
|
|
|
|
private Long planId;
|
|
|
|
|
|
|
2026-02-03 11:26:10 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 关联订单ID(关联crm_order.order_id)
|
|
|
|
|
|
*/
|
|
|
|
|
|
private Long orderId;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 订单编号
|
|
|
|
|
|
*/
|
|
|
|
|
|
private String orderCode;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 合同号
|
|
|
|
|
|
*/
|
|
|
|
|
|
private String contractCode;
|
|
|
|
|
|
|
2025-11-25 15:44:19 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 车牌(支持新能源车牌)
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "车牌", converter = ExcelDictConvert.class)
|
|
|
|
|
|
@ExcelDictFormat(readConverterExp = "支=持新能源车牌")
|
|
|
|
|
|
private String licensePlate;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 收货单位
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "收货单位")
|
|
|
|
|
|
private String consigneeUnit;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 发货单位
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "发货单位")
|
|
|
|
|
|
private String senderUnit;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 发货时间
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "发货时间")
|
|
|
|
|
|
private Date deliveryTime;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 磅房
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "磅房")
|
|
|
|
|
|
private String weighbridge;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 销售
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "销售")
|
|
|
|
|
|
private String salesPerson;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 负责人(司机/跟单员)
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "负责人", converter = ExcelDictConvert.class)
|
|
|
|
|
|
@ExcelDictFormat(readConverterExp = "司=机/跟单员")
|
|
|
|
|
|
private String principal;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 负责人电话(手机号/固话)
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "负责人电话", converter = ExcelDictConvert.class)
|
|
|
|
|
|
@ExcelDictFormat(readConverterExp = "手=机号/固话")
|
|
|
|
|
|
private String principalPhone;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 完成状态(0=待发货,1=已发货,2=已完成,3=取消)
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "完成状态", converter = ExcelDictConvert.class)
|
|
|
|
|
|
@ExcelDictFormat(readConverterExp = "0==待发货,1=已发货,2=已完成,3=取消")
|
|
|
|
|
|
private Long status;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 备注
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "备注")
|
|
|
|
|
|
private String remark;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|