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/ZProperty.java | 137 +++++++++++++-------------------------------- 1 files changed, 41 insertions(+), 96 deletions(-) diff --git a/zhang-content/src/main/java/com/ruoyi/domain/ZProperty.java b/zhang-content/src/main/java/com/ruoyi/domain/ZProperty.java index 6e27dda..812b71f 100644 --- a/zhang-content/src/main/java/com/ruoyi/domain/ZProperty.java +++ b/zhang-content/src/main/java/com/ruoyi/domain/ZProperty.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,152 +20,91 @@ * @since 2023-03-14 */ @TableName("z_property") +@Data public class ZProperty implements Serializable { private static final long serialVersionUID = 1L; @TableId(value = "id", type = IdType.AUTO) - private Integer id; + private Long id; /** * 鏈汉id */ - private Integer userId; + private Long userId; + + + @Excel(name = "鏃ユ湡",dateFormat = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd") + private Date happenTime; + + + @JsonFormat(pattern = "yyyy-MM-dd") + private Date createTime; /** * 璐骇绫诲埆 */ - private Integer type; + @Excel(name = "璐骇绫诲埆") + private String type; /** * 鏀舵敮鍚嶇О */ + @Excel(name = "鏀舵敮鍚嶇О") private String incomeName; /** * 閲戦 */ - private Double price; + @Excel(name = "閲戦") + private String price; /** * 鏈熼檺 */ + @Excel(name = "鏈熼檺") private String timeLimit; /** * 鍙樻洿鎴栨敞閿� */ + @Excel(name = "鍙樻洿鎴栨敞閿�鎴栬喘涔�") private String isChange; /** * 浜ф潈 */ + @Excel(name = "浜ф潈") private String propertyRight; /** * 瀛樻斁浣嶇疆 */ + @Excel(name = "瀛樻斁浣嶇疆") private String location; /** * 澶囨敞 */ + @Excel(name = "澶囨敞") private String remark; + private String url; - public Integer getId() { - return id; - } + @Excel(name = "鏄惁娉ㄩ攢(濉槸鎴栧惁)",readConverterExp = "0=鍚�,1=鏄�") + private Integer status; - public void setId(Integer id) { - this.id = id; - } + @TableField(exist = false) + @JsonFormat(pattern = "yyyy-MM-dd") + private Date happenStartTime; - public Integer getUserId() { - return userId; - } + @TableField(exist = false) + @JsonFormat(pattern = "yyyy-MM-dd") + private Date happenEndTime; - public void setUserId(Integer userId) { - this.userId = userId; - } - - public Integer getType() { - return type; - } - - public void setType(Integer type) { - this.type = type; - } - - public String getIncomeName() { - return incomeName; - } - - public void setIncomeName(String incomeName) { - this.incomeName = incomeName; - } - - public Double getPrice() { - return price; - } - - public void setPrice(Double price) { - this.price = price; - } - - public String getTimeLimit() { - return timeLimit; - } - - public void setTimeLimit(String timeLimit) { - this.timeLimit = timeLimit; - } - - public String getIsChange() { - return isChange; - } - - public void setIsChange(String isChange) { - this.isChange = isChange; - } - - public String getPropertyRight() { - return propertyRight; - } - - public void setPropertyRight(String propertyRight) { - this.propertyRight = propertyRight; - } - - 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 "ZProperty{" + - "id=" + id + - ", userId=" + userId + - ", type=" + type + - ", incomeName=" + incomeName + - ", price=" + price + - ", timeLimit=" + timeLimit + - ", isChange=" + isChange + - ", propertyRight=" + propertyRight + - ", location=" + location + - ", remark=" + remark + - "}"; - } + /** + * 鍒嗕韩浜� + */ + private Integer shareId; } -- Gitblit v1.9.1