|
@@ -1,14 +1,15 @@
|
|
|
package org.eco.system.domain.vo;
|
|
|
|
|
|
-import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
+import com.phm.common.mapper.annotation.FieldMapper;
|
|
|
+import com.phm.common.mapper.constant.MapperConstant;
|
|
|
import io.github.linpeilie.annotations.AutoMapper;
|
|
|
import lombok.Data;
|
|
|
-import lombok.EqualsAndHashCode;
|
|
|
-import org.eco.common.orm.core.domain.BaseEntity;
|
|
|
import org.eco.system.domain.ImportExport;
|
|
|
|
|
|
import java.io.Serial;
|
|
|
import java.io.Serializable;
|
|
|
+import java.util.Date;
|
|
|
|
|
|
/**
|
|
|
* 导入导出日志视图对象 sys_import_export_t
|
|
@@ -17,10 +18,8 @@ import java.io.Serializable;
|
|
|
* @date 2024-06-24
|
|
|
*/
|
|
|
@Data
|
|
|
-@ExcelIgnoreUnannotated
|
|
|
-@EqualsAndHashCode(callSuper = true)
|
|
|
@AutoMapper(target = ImportExport.class)
|
|
|
-public class ImportExportVo extends BaseEntity implements Serializable {
|
|
|
+public class ImportExportVo implements Serializable {
|
|
|
|
|
|
@Serial
|
|
|
private static final long serialVersionUID = 1L;
|
|
@@ -59,4 +58,21 @@ public class ImportExportVo extends BaseEntity implements Serializable {
|
|
|
* 状态
|
|
|
*/
|
|
|
private String status;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 创建人名称
|
|
|
+ */
|
|
|
+ @FieldMapper(type = MapperConstant.USER_ID_TO_NAME, mapper = "createBy")
|
|
|
+ private String createByName;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 上传人
|
|
|
+ */
|
|
|
+ private Long createBy;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 创建时间
|
|
|
+ */
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ private Date createTime;
|
|
|
}
|