From e5ebd02de9615e2a22694dba7e4207526054b2f8 Mon Sep 17 00:00:00 2001
From: whywhyo <1511349576@qq.com>
Date: 星期二, 11 七月 2023 23:21:44 +0800
Subject: [PATCH] 123456

---
 zhang-content/src/main/java/com/ruoyi/domain/ZYearInfo.java |  114 +++++++++++++++++----------------------------------------
 1 files changed, 34 insertions(+), 80 deletions(-)

diff --git a/zhang-content/src/main/java/com/ruoyi/domain/ZYearInfo.java b/zhang-content/src/main/java/com/ruoyi/domain/ZYearInfo.java
index 38ea31a..b77691f 100644
--- a/zhang-content/src/main/java/com/ruoyi/domain/ZYearInfo.java
+++ b/zhang-content/src/main/java/com/ruoyi/domain/ZYearInfo.java
@@ -1,10 +1,17 @@
 package com.ruoyi.domain;
 
 import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
 import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableName;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+import lombok.Data;
+
 import java.io.Serializable;
 import java.time.LocalDateTime;
+import java.util.Date;
 
 /**
  * <p>
@@ -15,124 +22,71 @@
  * @since 2023-03-14
  */
 @TableName("z_year_info")
+@Data
 public class ZYearInfo implements Serializable {
 
     private static final long serialVersionUID = 1L;
 
     @TableId(value = "id", type = IdType.AUTO)
-    private Integer id;
+    private Long id;
 
     /**
      * 骞村害鍋ュ悍琛╥d
      */
-    private Integer hid;
+    private Long uid;
 
     /**
      * 浣撴鏃堕棿
      */
-    private LocalDateTime checkTime;
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    @Excel(name = "浣撴鏃堕棿")
+    private Date checkTime;
+
+    @TableField(exist = false)
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    private Date happenStartTime;
+
+    @TableField(exist = false)
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    private Date happenEndTime;
 
     /**
-     * 鐪嬬梾锛�0銆佷綋妫�锛�1
+     * 绫诲瀷
      */
-    private Integer type;
+    @Excel(name = "绫诲瀷")
+    private String type;
 
     /**
      * 灏辫瘖鍖婚櫌
      */
+    @Excel(name = "灏辫瘖鍖婚櫌")
     private String hospital;
 
     /**
      * 棰樺悕
      */
+    @Excel(name = "棰樺悕")
     private String title;
 
     /**
      * 娉ㄦ剰浜嬮」
      */
+    @Excel(name = "娉ㄦ剰浜嬮」")
     private String notice;
 
     /**
      * 澶囨敞
      */
+    @Excel(name = "澶囨敞")
     private String remark;
 
+    /**
+     * 鍒涘缓鏃堕棿
+     */
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    private Date createTime;
 
-    public Integer getId() {
-        return id;
-    }
+    private String url;
 
-    public void setId(Integer id) {
-        this.id = id;
-    }
 
-    public Integer getHid() {
-        return hid;
-    }
-
-    public void setHid(Integer hid) {
-        this.hid = hid;
-    }
-
-    public LocalDateTime getCheckTime() {
-        return checkTime;
-    }
-
-    public void setCheckTime(LocalDateTime checkTime) {
-        this.checkTime = checkTime;
-    }
-
-    public Integer getType() {
-        return type;
-    }
-
-    public void setType(Integer type) {
-        this.type = type;
-    }
-
-    public String getHospital() {
-        return hospital;
-    }
-
-    public void setHospital(String hospital) {
-        this.hospital = hospital;
-    }
-
-    public String getTitle() {
-        return title;
-    }
-
-    public void setTitle(String title) {
-        this.title = title;
-    }
-
-    public String getNotice() {
-        return notice;
-    }
-
-    public void setNotice(String notice) {
-        this.notice = notice;
-    }
-
-    public String getRemark() {
-        return remark;
-    }
-
-    public void setRemark(String remark) {
-        this.remark = remark;
-    }
-
-    @Override
-    public String toString() {
-        return "ZYearInfo{" +
-        "id=" + id +
-        ", hid=" + hid +
-        ", checkTime=" + checkTime +
-        ", type=" + type +
-        ", hospital=" + hospital +
-        ", title=" + title +
-        ", notice=" + notice +
-        ", remark=" + remark +
-        "}";
-    }
 }

--
Gitblit v1.9.1