From b02beccf4567068cb47a3f1181a00039456c872d Mon Sep 17 00:00:00 2001 From: zqy <2522236926@qq.com> Date: 星期三, 06 八月 2025 15:37:20 +0800 Subject: [PATCH] 用户修改姓名和电话同步修改uaid --- zhang-content/src/main/java/com/ruoyi/domain/ZfCollection.java | 141 ++++++++++++++++++---------------------------- 1 files changed, 56 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..a2b347f 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; @@ -23,130 +32,92 @@ private Integer id; /** - * 鑾峰緱鏃堕棿 - */ - private LocalDateTime getTime; - - /** * 绫诲埆 */ + @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