From 4502f650f4816e55b5c7bf751ffce3aa0dce72dd Mon Sep 17 00:00:00 2001
From: zqy <2522236926@qq.com>
Date: 星期二, 14 十月 2025 18:13:07 +0800
Subject: [PATCH] 找回密码功能
---
zhang-content/src/main/java/com/ruoyi/domain/ZfCollection.java | 142 +++++++++++++++++++----------------------------
1 files changed, 57 insertions(+), 85 deletions(-)
diff --git a/zhang-content/src/main/java/com/ruoyi/domain/ZfCollection.java b/zhang-content/src/main/java/com/ruoyi/domain/ZfCollection.java
index f3037cb..84dff3f 100644
--- a/zhang-content/src/main/java/com/ruoyi/domain/ZfCollection.java
+++ b/zhang-content/src/main/java/com/ruoyi/domain/ZfCollection.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 lombok.Data;
+import lombok.ToString;
+
import java.io.Serializable;
import java.time.LocalDateTime;
+import java.util.Date;
/**
* <p>
@@ -15,6 +22,8 @@
* @since 2023-03-12
*/
@TableName("zf_collection")
+@Data
+@ToString
public class ZfCollection implements Serializable {
private static final long serialVersionUID = 1L;
@@ -22,131 +31,94 @@
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
- /**
- * 鑾峰緱鏃堕棿
- */
- private LocalDateTime getTime;
-
+ private String fileName;
/**
* 绫诲埆
*/
+ @Excel(name = "绫诲埆")
private String type;
/**
* 鍚嶅瓧
*/
+ @Excel(name = "鍚嶅瓧")
private String name;
/**
* 鏉ユ簮
*/
+ @Excel(name = "鏉ユ簮")
private String source;
/**
* 鎷ユ湁鑰�
*/
+ @Excel(name = "鎷ユ湁鑰�")
private String owner;
/**
* 浠峰��
*/
- private Double price;
+ @Excel(name = "浠峰��")
+ private String price;
/**
* 瀛樻斁浣嶇疆
*/
+ @Excel(name = "瀛樻斁浣嶇疆")
private String location;
/**
* 澶囨敞
*/
+ @Excel(name = "澶囨敞")
private String remark;
+ /**
+ * 鐢靛瓙鏂囦欢璺緞
+ */
+ private String url;
- public Integer getId() {
- return id;
- }
+ /**
+ * 鎵�灞炲搴璱d
+ */
+ @Excel(name = "鎵�灞炲搴紪鍙�(瀵煎叆鏁版嵁鏃惰鍒犻櫎姝ゆ爮)")
+ private Long familyId;
- public void setId(Integer id) {
- this.id = id;
- }
+ /**
+ * 鏄惁鏄湰瀹跺涵鐨勬暟鎹�(0:涓嶆槸,1:鏄�)
+ */
+ @TableField(exist = false)
+ private Integer ownData = 0;
- public LocalDateTime getGetTime() {
- return getTime;
- }
+ /**
+ * 鍒涘缓鏃堕棿
+ */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ private Date createTime;
- public void setGetTime(LocalDateTime getTime) {
- this.getTime = getTime;
- }
+ /**
+ * 寮�濮嬫椂闂�
+ */
+ @TableField(exist = false)
+ private Date happenStartTime;
- public String getType() {
- return type;
- }
+ /**
+ * 缁撴潫鏃堕棿
+ */
+ @TableField(exist = false)
+ private Date happenEndTime;
- public void setType(String type) {
- this.type = type;
- }
+ /**
+ * 鑾峰緱鏃堕棿
+ */
+ @Excel(name = "鑾峰緱鏃堕棿", dateFormat = "yyyy-MM-dd")
+ @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
+ private Date happenTime;
- public String getName() {
- return name;
- }
+ /**
+ * 鍒嗕韩浜篿d
+ */
+ private Integer shareId;
- public void setName(String name) {
- this.name = name;
- }
-
- public String getSource() {
- return source;
- }
-
- public void setSource(String source) {
- this.source = source;
- }
-
- public String getOwner() {
- return owner;
- }
-
- public void setOwner(String owner) {
- this.owner = owner;
- }
-
- public Double getPrice() {
- return price;
- }
-
- public void setPrice(Double price) {
- this.price = price;
- }
-
- 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 "ZfCollection{" +
- "id=" + id +
- ", getTime=" + getTime +
- ", type=" + type +
- ", name=" + name +
- ", source=" + source +
- ", owner=" + owner +
- ", price=" + price +
- ", location=" + location +
- ", remark=" + remark +
- "}";
- }
}
--
Gitblit v1.9.1