80 lines
1.9 KiB
Java
80 lines
1.9 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;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 钢卷变更日志视图对象 wms_coil_change_log
|
|||
|
|
*
|
|||
|
|
* @author klp
|
|||
|
|
* @date 2026-07-11
|
|||
|
|
*/
|
|||
|
|
@Data
|
|||
|
|
@ExcelIgnoreUnannotated
|
|||
|
|
public class WmsCoilChangeLogVo {
|
|||
|
|
|
|||
|
|
private static final long serialVersionUID = 1L;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 主键ID
|
|||
|
|
*/
|
|||
|
|
@ExcelProperty(value = "主键ID")
|
|||
|
|
private Long logId;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 变更类型: UPDATE/INSERT/PROCESS/SPLIT/MERGE/DELETE/ROLLBACK/EXPORT/QUALITY_CHANGE
|
|||
|
|
*/
|
|||
|
|
@ExcelProperty(value = "变更类型: UPDATE/INSERT/PROCESS/SPLIT/MERGE/DELETE/ROLLBACK/EXPORT/QUALITY_CHANGE")
|
|||
|
|
private String changeType;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 变更前钢卷ID
|
|||
|
|
*/
|
|||
|
|
@ExcelProperty(value = "变更前钢卷ID")
|
|||
|
|
private Long oldCoilId;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 变更后钢卷ID(纯删除时为NULL)
|
|||
|
|
*/
|
|||
|
|
@ExcelProperty(value = "变更后钢卷ID", converter = ExcelDictConvert.class)
|
|||
|
|
@ExcelDictFormat(readConverterExp = "纯=删除时为NULL")
|
|||
|
|
private Long newCoilId;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 变更前钢卷号(冗余,方便查看)
|
|||
|
|
*/
|
|||
|
|
@ExcelProperty(value = "变更前钢卷号", converter = ExcelDictConvert.class)
|
|||
|
|
@ExcelDictFormat(readConverterExp = "冗=余,方便查看")
|
|||
|
|
private String oldCoilNo;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 变更后钢卷号
|
|||
|
|
*/
|
|||
|
|
@ExcelProperty(value = "变更后钢卷号")
|
|||
|
|
private String newCoilNo;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 变更字段差异 JSON: {"fieldName":{"old":"旧值","new":"新值"},...}
|
|||
|
|
*/
|
|||
|
|
@ExcelProperty(value = "变更字段差异")
|
|||
|
|
private String changedFields;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 操作描述
|
|||
|
|
*/
|
|||
|
|
@ExcelProperty(value = "操作描述")
|
|||
|
|
private String operationDesc;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 备注
|
|||
|
|
*/
|
|||
|
|
@ExcelProperty(value = "备注")
|
|||
|
|
private String remark;
|
|||
|
|
|
|||
|
|
|
|||
|
|
}
|