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/ZfEconomy.java | 141 ++++++++++++++++++----------------------------- 1 files changed, 54 insertions(+), 87 deletions(-) diff --git a/zhang-content/src/main/java/com/ruoyi/domain/ZfEconomy.java b/zhang-content/src/main/java/com/ruoyi/domain/ZfEconomy.java index 4c3ec67..4b635d6 100644 --- a/zhang-content/src/main/java/com/ruoyi/domain/ZfEconomy.java +++ b/zhang-content/src/main/java/com/ruoyi/domain/ZfEconomy.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.LocalDate; +import java.util.Date; /** * <p> @@ -15,138 +22,98 @@ * @since 2023-03-12 */ @TableName("zf_economy") +@Data +@ToString public class ZfEconomy implements Serializable { private static final long serialVersionUID = 1L; @TableId(value = "id", type = IdType.AUTO) - private Integer id; + private Long id; /** * 0锛氬熀閲戙��1锛氬彴璐� */ - private Integer type; + @Excel(name = "鏀舵敮绫诲瀷") + private String type; /** * 鏃堕棿 */ - private LocalDate createTime; + @JsonFormat(pattern = "yyyy-MM-dd") + private Date createTime; /** * 鏀跺叆/鏀嚭 */ - private Double price; + @Excel(name = "鏀跺叆/鏀嚭") + private String price; /** * 鐢ㄩ�� */ - private String use; + @Excel(name = "鐢ㄩ��") + private String useFor; /** * 浣跨敤浜� */ - private String user; + @Excel(name = "浣跨敤浜�") + private String usePeople; /** * 0:鐜伴噾,1:鑷姩鍒掓墸 */ - private Integer kind; + @Excel(name = "鐜伴噾/鑷姩鍒掓墸") + private String kind; /** * 浣欓 */ - private Double balance; + @Excel(name = "浣欓") + private String balance; /** * 澶囨敞 */ + @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; - } + /** + * 鏄惁鏄湰瀹跺涵鐨勬暟鎹�(0:涓嶆槸,1:鏄�) + */ + @TableField(exist = false) + private Integer ownData = 0; - public Integer getType() { - return type; - } + /** + * 寮�濮嬫椂闂� + */ + @TableField(exist = false) + private Date happenStartTime; - public void setType(Integer type) { - this.type = type; - } + /** + * 缁撴潫鏃堕棿 + */ + @TableField(exist = false) + private Date happenEndTime; - public LocalDate getCreateTime() { - return createTime; - } + /** + * 鍙戠敓鏃堕棿 + */ + @Excel(name = "鏃堕棿", dateFormat = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") + private Date happenTime; - public void setCreateTime(LocalDate createTime) { - this.createTime = createTime; - } + /** + * 鍒嗕韩浜篿d + */ + private Integer shareId; - public Double getPrice() { - return price; - } + private String cosKey; - public void setPrice(Double price) { - this.price = price; - } - - public String getUse() { - return use; - } - - public void setUse(String use) { - this.use = use; - } - - public String getUser() { - return user; - } - - public void setUser(String user) { - this.user = user; - } - - public Integer getKind() { - return kind; - } - - public void setKind(Integer kind) { - this.kind = kind; - } - - public Double getBalance() { - return balance; - } - - public void setBalance(Double balance) { - this.balance = balance; - } - - public String getRemark() { - return remark; - } - - public void setRemark(String remark) { - this.remark = remark; - } - - @Override - public String toString() { - return "ZfEconomy{" + - "id=" + id + - ", type=" + type + - ", createTime=" + createTime + - ", price=" + price + - ", use=" + use + - ", user=" + user + - ", kind=" + kind + - ", balance=" + balance + - ", remark=" + remark + - "}"; - } } -- Gitblit v1.9.1