Files
klp-oa/klp-wms/src/main/java/com/klp/domain/vo/WmsCoilChangeLogVo.java
2026-07-13 10:39:34 +08:00

81 lines
2.0 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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.core.domain.BaseEntity;
import com.klp.common.convert.ExcelDictConvert;
import lombok.Data;
/**
* 钢卷变更日志视图对象 wms_coil_change_log
*
* @author klp
* @date 2026-07-11
*/
@Data
@ExcelIgnoreUnannotated
public class WmsCoilChangeLogVo extends BaseEntity {
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;
}