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/ZfEquipment.java | 117 +++++++++++++++++++++++++++------------------------------- 1 files changed, 55 insertions(+), 62 deletions(-) diff --git a/zhang-content/src/main/java/com/ruoyi/domain/ZfEquipment.java b/zhang-content/src/main/java/com/ruoyi/domain/ZfEquipment.java index 36e0563..1d8cbaa 100644 --- a/zhang-content/src/main/java/com/ruoyi/domain/ZfEquipment.java +++ b/zhang-content/src/main/java/com/ruoyi/domain/ZfEquipment.java @@ -1,10 +1,16 @@ 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.time.LocalDateTime; +import java.util.Date; /** * <p> @@ -15,110 +21,97 @@ * @since 2023-03-12 */ @TableName("zf_equipment") +@Data public class ZfEquipment implements Serializable { private static final long serialVersionUID = 1L; @TableId(value = "id", type = IdType.AUTO) - private Integer id; + private Long id; /** * 璁惧鍚嶇О */ + @Excel(name = "璁惧鍚嶇О") private String name; /** - * 璁板綍鏃堕棿 + * 淇濅慨鏈熼檺 */ - private LocalDateTime createDate; + @Excel(name = "淇濅慨鏈熼檺") + private String baoXiu; + + /** + * 鎻掑叆鏃堕棿 + */ + @JsonFormat(pattern = "yyyy-MM-dd") + private Date createTime; /** * 璐拱浜� */ + @Excel(name = "璐拱浜�") private String buyer; /** * 浜嬮」鍐呭 */ + @Excel(name = "浜嬮」鍐呭") private String content; /** * 瀛樻斁鍦扮偣 */ + @Excel(name = "瀛樻斁鍦扮偣") private String location; /** * 澶囨敞 */ + @Excel(name = "澶囨敞") private String remark; + /** + * 瀹跺涵id + */ + @Excel(name = "鎵�灞炲搴紪鍙�(瀵煎叆鏁版嵁鏃惰鍒犻櫎姝ゆ爮)") + private Long familyId; - public Integer getId() { - return id; - } + private String url; - public void setId(Integer id) { - this.id = id; - } + @Excel(name = "鏄惁娉ㄩ攢",readConverterExp = "0=姝e父,1=宸叉敞閿�") + private Integer status; - public String getName() { - return name; - } - public void setName(String name) { - this.name = name; - } + /** + * 鏄惁鏄湰瀹跺涵鐨勬暟鎹�(0:涓嶆槸,1:鏄�) + */ + @TableField(exist = false) + private Integer ownData = 0; - public LocalDateTime getCreateDate() { - return createDate; - } + /** + * 寮�濮嬫椂闂� + */ + @TableField(exist = false) + private Date happenStartTime; - public void setCreateDate(LocalDateTime createDate) { - this.createDate = createDate; - } + /** + * 缁撴潫鏃堕棿 + */ + @TableField(exist = false) + private Date happenEndTime; - public String getBuyer() { - return buyer; - } + /** + * 璁板綍鏃堕棿 + */ + @Excel(name = "鏃堕棿", dateFormat = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") + private Date happenTime; - public void setBuyer(String buyer) { - this.buyer = buyer; - } + /** + * 鍒嗕韩浜篿d + */ + private Integer shareId; - public String getContent() { - return content; - } - public void setContent(String content) { - this.content = content; - } - - 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 "ZfEquipment{" + - "id=" + id + - ", name=" + name + - ", createDate=" + createDate + - ", buyer=" + buyer + - ", content=" + content + - ", location=" + location + - ", remark=" + remark + - "}"; - } } -- Gitblit v1.9.1