67 lines
1.4 KiB
Java
67 lines
1.4 KiB
Java
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;
|
||
|
||
import java.util.List;
|
||
|
||
|
||
/**
|
||
* 采购计划主视图对象 wms_purchase_plan
|
||
*
|
||
* @author Joshi
|
||
* @date 2025-07-18
|
||
*/
|
||
@Data
|
||
@ExcelIgnoreUnannotated
|
||
public class WmsPurchasePlanVo {
|
||
|
||
private static final long serialVersionUID = 1L;
|
||
|
||
/**
|
||
* 采购计划ID
|
||
*/
|
||
@ExcelProperty(value = "采购计划ID")
|
||
private Long planId;
|
||
|
||
/**
|
||
* 采购计划编号
|
||
*/
|
||
@ExcelProperty(value = "采购计划编号")
|
||
private String planCode;
|
||
|
||
/**
|
||
* 负责人
|
||
*/
|
||
@ExcelProperty(value = "负责人")
|
||
private String owner;
|
||
|
||
/**
|
||
* 关联订单ID
|
||
*/
|
||
@ExcelProperty(value = "关联订单ID")
|
||
private Long orderId;
|
||
|
||
/**
|
||
* 状态(0=新建,1=待审核,2=已审核,3=已完成,4=已取消)
|
||
*/
|
||
@ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
|
||
@ExcelDictFormat(readConverterExp = "0==新建,1=待审核,2=已审核,3=已完成,4=已取消")
|
||
private Integer status;
|
||
|
||
/**
|
||
* 备注
|
||
*/
|
||
@ExcelProperty(value = "备注")
|
||
private String remark;
|
||
|
||
/**
|
||
* 采购计划明细列表
|
||
*/
|
||
private List<WmsPurchasePlanDetailVo> detailList;
|
||
|
||
}
|