From 86d65e6f837ff14b090ffc3312c013987b6f67d8 Mon Sep 17 00:00:00 2001
From: zqy <2522236926@qq.com>
Date: 星期二, 14 十月 2025 21:59:13 +0800
Subject: [PATCH] 荣誉 新增两个字段的查询
---
zhang-content/src/main/java/com/ruoyi/domain/ZfClean.java | 123 +++++++++++++++++-----------------------
1 files changed, 53 insertions(+), 70 deletions(-)
diff --git a/zhang-content/src/main/java/com/ruoyi/domain/ZfClean.java b/zhang-content/src/main/java/com/ruoyi/domain/ZfClean.java
index 4555cae..ebdce65 100644
--- a/zhang-content/src/main/java/com/ruoyi/domain/ZfClean.java
+++ b/zhang-content/src/main/java/com/ruoyi/domain/ZfClean.java
@@ -1,9 +1,15 @@
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 lombok.Data;
+
import java.io.Serializable;
+import java.util.Date;
/**
* <p>
@@ -14,124 +20,101 @@
* @since 2023-03-12
*/
@TableName("zf_clean")
+@Data
public class ZfClean implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
- private Integer id;
+ private Long id;
+
+ private String fileName;
/**
* 0锛氫繚娲侊紝1锛氭敹绾�
*/
+ @Excel(name = "绫诲瀷(蹇呴』鏄繚娲佹垨鑰呮敹绾�)",readConverterExp = "0=淇濇磥,1=鏀剁撼")
private Integer kind;
/**
* 閫傜敤浜�
*/
+ @Excel(name = "閫傜敤浜�")
private String suitable;
/**
* 绫诲埆
*/
+ @Excel(name = "绫诲埆")
private String type;
/**
* 淇濇磥鏂规硶
*/
+ @Excel(name = "淇濇磥鏂规硶")
private String method;
/**
* 鏉愭枡瀛樻斁鍦�
*/
+ @Excel(name = "鏉愭枡瀛樻斁鍦�")
private String place;
/**
* 鏀剧疆鍦扮偣
*/
+ @Excel(name = "鏀剧疆鍦扮偣")
private String location;
/**
* 澶囨敞
*/
+ @Excel(name = "澶囨敞")
private String remark;
+ /**
+ * 鐢靛瓙鏂囦欢璺緞
+ */
+ private String url;
- public Integer getId() {
- return id;
- }
+ @Excel(name="鎵�灞炲搴紪鍙�(瀵煎叆鏁版嵁鏃惰鍒犻櫎姝ゆ爮)")
+ private Long familyId;
- public void setId(Integer id) {
- this.id = id;
- }
- public Integer getKind() {
- return kind;
- }
+ /**
+ * 鏄惁鏄湰瀹跺涵鐨勬暟鎹�(0:涓嶆槸,1:鏄�)
+ */
+ @TableField(exist = false)
+ private Integer ownData = 0;
- public void setKind(Integer kind) {
- this.kind = kind;
- }
+ /**
+ * 鍒涘缓鏃堕棿
+ */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ private Date createTime;
- public String getSuitable() {
- return suitable;
- }
+ /**
+ * 寮�濮嬫椂闂�
+ */
+ @TableField(exist = false)
+ private Date happenStartTime;
- public void setSuitable(String suitable) {
- this.suitable = suitable;
- }
+ /**
+ * 缁撴潫鏃堕棿
+ */
+ @TableField(exist = false)
+ private Date happenEndTime;
- public String getType() {
- return type;
- }
+ /**
+ * 鍙戠敓鏃堕棿
+ */
+// @Excel(name = "璁板綍鏃堕棿", dateFormat = "yyyy-MM-dd")
+ @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
+ private Date happenTime;
- public void setType(String type) {
- this.type = type;
- }
+ /**
+ * 鍒嗕韩浜篿d
+ */
+ private Integer shareId;
- public String getMethod() {
- return method;
- }
-
- public void setMethod(String method) {
- this.method = method;
- }
-
- public String getPlace() {
- return place;
- }
-
- public void setPlace(String place) {
- this.place = place;
- }
-
- public String getLocation() {
- return location;
- }
-
- public void setLocation(String location) {
- this.location = location;
- }
-
- public String getRemark() {
- return remark;
- }
-
- public void setRemark(String remark) {
- this.remark = remark;
- }
-
- @Override
- public String toString() {
- return "ZfClean{" +
- "id=" + id +
- ", kind=" + kind +
- ", suitable=" + suitable +
- ", type=" + type +
- ", method=" + method +
- ", place=" + place +
- ", location=" + location +
- ", remark=" + remark +
- "}";
- }
}
--
Gitblit v1.9.1