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.io.Serializable; import java.util.Date; /** * 钢卷待操作视图对象 wms_coil_pending_action * * @author Joshi * @date 2025-11-03 */ @Data @ExcelIgnoreUnannotated public class WmsCoilPendingActionVo implements Serializable { private static final long serialVersionUID = 1L; /** * 主键ID */ @ExcelProperty(value = "主键ID") private Long actionId; /** * 关联的钢卷ID */ @ExcelProperty(value = "钢卷ID") private Long coilId; /** * 当前钢卷号 */ @ExcelProperty(value = "钢卷号") private String currentCoilNo; /** * 操作类型(1=分卷,2=合卷,3=更新) */ @ExcelProperty(value = "操作类型", converter = ExcelDictConvert.class) @ExcelDictFormat(dictType = "wms_coil_action_type") private Integer actionType; /** * 操作状态(0=待处理,1=处理中,2=已完成,3=已取消) */ @ExcelProperty(value = "操作状态", converter = ExcelDictConvert.class) @ExcelDictFormat(dictType = "wms_action_status") private Integer actionStatus; /** * 扫码时间 */ @ExcelProperty(value = "扫码时间") private Date scanTime; /** * 扫码设备 */ @ExcelProperty(value = "扫码设备") private String scanDevice; /** * 优先级(0=普通,1=重要,2=紧急) */ @ExcelProperty(value = "优先级", converter = ExcelDictConvert.class) @ExcelDictFormat(dictType = "wms_action_priority") private Integer priority; /** * 来源类型 */ @ExcelProperty(value = "来源类型") private String sourceType; /** * 所在库区ID */ private Long warehouseId; /** * 库区名称 */ @ExcelProperty(value = "库区") private String warehouseName; /** * 操作人ID */ private Long operatorId; /** * 操作人姓名 */ @ExcelProperty(value = "操作人") private String operatorName; /** * 处理时间 */ @ExcelProperty(value = "处理时间") private Date processTime; /** * 完成时间 */ @ExcelProperty(value = "完成时间") private Date completeTime; /** * 备注 */ @ExcelProperty(value = "备注") private String remark; /** * 创建时间 */ @ExcelProperty(value = "创建时间") private Date createTime; // 钢卷相关信息(关联查询) /** * 钢种 */ private String grade; /** * 厚度 */ private Double thickness; /** * 宽度 */ private Double width; /** * 重量 */ private Double weight; }