2025-07-18 09:39:09 +08:00
|
|
|
|
package com.klp.domain.vo;
|
|
|
|
|
|
|
|
|
|
|
|
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
|
|
|
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
|
|
|
import com.klp.common.annotation.ExcelDictFormat;
|
|
|
|
|
|
import com.klp.common.convert.ExcelDictConvert;
|
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
|
|
2025-08-12 16:15:24 +08:00
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
|
|
|
2025-07-18 09:39:09 +08:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 订单主视图对象 wms_order
|
|
|
|
|
|
*
|
|
|
|
|
|
* @author Joshi
|
|
|
|
|
|
* @date 2025-07-18
|
|
|
|
|
|
*/
|
|
|
|
|
|
@Data
|
|
|
|
|
|
@ExcelIgnoreUnannotated
|
|
|
|
|
|
public class WmsOrderVo {
|
|
|
|
|
|
|
|
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 订单ID
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "订单ID")
|
|
|
|
|
|
private Long orderId;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 订单编号
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "订单编号")
|
|
|
|
|
|
private String orderCode;
|
|
|
|
|
|
|
2025-08-12 15:19:34 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 客户ID
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "客户ID")
|
|
|
|
|
|
private Long customerId;
|
|
|
|
|
|
|
2025-07-18 09:39:09 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 客户名称
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "客户名称")
|
|
|
|
|
|
private String customerName;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 销售经理
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "销售经理")
|
|
|
|
|
|
private String salesManager;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 订单状态(0=新建,1=生产中,2=已完成,3=已取消)
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "订单状态", converter = ExcelDictConvert.class)
|
|
|
|
|
|
@ExcelDictFormat(readConverterExp = "0==新建,1=生产中,2=已完成,3=已取消")
|
|
|
|
|
|
private Integer orderStatus;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 备注
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "备注")
|
|
|
|
|
|
private String remark;
|
|
|
|
|
|
|
2025-08-12 16:15:24 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 含税金额
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "含税金额")
|
|
|
|
|
|
private BigDecimal taxAmount;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 无税金额
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "无税金额")
|
|
|
|
|
|
private BigDecimal noTaxAmount;
|
|
|
|
|
|
|
2025-07-18 09:39:09 +08:00
|
|
|
|
|
|
|
|
|
|
}
|