From f8b80fc0032e15e67e7a9ca4fe644e7147f90c70 Mon Sep 17 00:00:00 2001 From: zqy <2522236926@qq.com> Date: 星期二, 19 十一月 2024 20:20:50 +0800 Subject: [PATCH] 删除隐私模块的期限范围时间 --- zhang-content/src/main/java/com/ruoyi/domain/ZfProperty.java | 49 ++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 46 insertions(+), 3 deletions(-) diff --git a/zhang-content/src/main/java/com/ruoyi/domain/ZfProperty.java b/zhang-content/src/main/java/com/ruoyi/domain/ZfProperty.java index c0bb592..be9d73a 100644 --- a/zhang-content/src/main/java/com/ruoyi/domain/ZfProperty.java +++ b/zhang-content/src/main/java/com/ruoyi/domain/ZfProperty.java @@ -6,6 +6,8 @@ import com.ruoyi.common.annotation.Excel; import lombok.Data; import lombok.ToString; +import org.springframework.format.annotation.DateTimeFormat; + import java.io.Serializable; import java.time.LocalDate; import java.time.LocalDateTime; @@ -51,10 +53,51 @@ @Excel(name="澶囨敞") private String remark; - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") - @Excel(name="鍒涘缓鏃堕棿") - private LocalDateTime createTime= LocalDateTime.now(); + /** + * 鍒涘缓鏃堕棿 + */ + @JsonFormat(pattern = "yyyy-MM-dd") + private Date createTime; + + /** + * 鍙戠敓鏃堕棿 + */ + @Excel(name = "鏃堕棿", dateFormat = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") + private Date happenTime; private String url; + /** + * 瀹跺涵id + */ + @Excel(name = "鎵�灞炲搴紪鍙�(瀵煎叆鏁版嵁鏃惰鍒犻櫎姝ゆ爮)") + private Long familyId; + + /** + * 鏄惁鏄湰瀹跺涵鐨勬暟鎹�(0:涓嶆槸,1:鏄�) + */ + @TableField(exist = false) + private Integer ownData = 0; + + /** + * 鏁版嵁鐘舵�� + */ + @Excel(name = "鏄惁娉ㄩ攢",readConverterExp = "0=姝e父,1=宸叉敞閿�") + private Integer status; + + /** + * 寮�濮嬫椂闂� + */ + @TableField(exist = false) + private Date happenStartTime; + + /** + * 缁撴潫鏃堕棿 + */ + @TableField(exist = false) + private Date happenEndTime; + + private Integer shareId; + } -- Gitblit v1.9.1