|
@@ -3,6 +3,8 @@ package com.etotem.cfc.dto;
|
|
|
import com.etotem.cfc.entity.DanReportUpload;
|
|
import com.etotem.cfc.entity.DanReportUpload;
|
|
|
import lombok.Data;
|
|
import lombok.Data;
|
|
|
import java.util.Date;
|
|
import java.util.Date;
|
|
|
|
|
+import java.util.List;
|
|
|
|
|
+import java.util.Map;
|
|
|
|
|
|
|
|
@Data
|
|
@Data
|
|
|
public class DanReportUploadVO {
|
|
public class DanReportUploadVO {
|
|
@@ -29,6 +31,9 @@ public class DanReportUploadVO {
|
|
|
private Date createdAt;
|
|
private Date createdAt;
|
|
|
private Date updatedAt;
|
|
private Date updatedAt;
|
|
|
|
|
|
|
|
|
|
+ /** 通用展示块(从 report_blocks 表读取) */
|
|
|
|
|
+ private List<Map<String, Object>> blocks;
|
|
|
|
|
+
|
|
|
public static DanReportUploadVO fromEntity(DanReportUpload e) {
|
|
public static DanReportUploadVO fromEntity(DanReportUpload e) {
|
|
|
if (e == null) return null;
|
|
if (e == null) return null;
|
|
|
DanReportUploadVO v = new DanReportUploadVO();
|
|
DanReportUploadVO v = new DanReportUploadVO();
|