From fa4aaa8ec7af6ef7a6ddc63ae69e923723c3febc Mon Sep 17 00:00:00 2001 From: Jinquan_Ou <Jinquan@gdut.com> Date: 星期六, 08 四月 2023 12:45:45 +0800 Subject: [PATCH] bbb --- zhang-content/src/main/java/com/ruoyi/domain/ZfContact.java | 122 ++++++---------------------------------- 1 files changed, 18 insertions(+), 104 deletions(-) diff --git a/zhang-content/src/main/java/com/ruoyi/domain/ZfContact.java b/zhang-content/src/main/java/com/ruoyi/domain/ZfContact.java index 9f81c43..2e15a8b 100644 --- a/zhang-content/src/main/java/com/ruoyi/domain/ZfContact.java +++ b/zhang-content/src/main/java/com/ruoyi/domain/ZfContact.java @@ -3,6 +3,10 @@ import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; +import com.ruoyi.common.annotation.Excel; +import lombok.Data; +import lombok.ToString; + import java.io.Serializable; /** @@ -14,166 +18,76 @@ * @since 2023-03-12 */ @TableName("zf_contact") +@Data +@ToString public class ZfContact implements Serializable { private static final long serialVersionUID = 1L; @TableId(value = "id", type = IdType.AUTO) - private Integer id; + private Long id; /** * 鎴愬憳濮撳悕 */ + @Excel(name = "鎴愬憳濮撳悕") private String myName; /** * 绉板懠 */ + @Excel(name = "绉板懠") private String nickName; /** * 绉板懠鑰呭鍚� */ + @Excel(name = "绉板懠鑰呭鍚�") private String name; /** * 宸ヤ綔鍗曚綅 */ + @Excel(name = "宸ヤ綔鍗曚綅") private String work; /** * 鎵嬫満鍙风爜 */ + @Excel(name = "鎵嬫満鍙风爜") private String phone; /** * 寰俊鍙� */ + @Excel(name = "寰俊鍙�") private String wx; /** * qq鍙� */ + @Excel(name = "qq鍙�") private String qq; /** * 鎺ㄧ壒鍙� */ + @Excel(name = "鎺ㄧ壒鍙�") private String twitter; /** * 鏄惁甯歌仈绯�,0:鍚�,1:鏄� */ + @Excel(name = "鏄惁甯歌仈绯�",readConverterExp = "0=鍚�,1=鏄�") private Integer isAlways; /** * 澶囨敞 */ + @Excel(name = "澶囨敞") private String remark; + private String url; - public Integer getId() { - return id; - } - public void setId(Integer id) { - this.id = id; - } - - public String getMyName() { - return myName; - } - - public void setMyName(String myName) { - this.myName = myName; - } - - public String getNickName() { - return nickName; - } - - public void setNickName(String nickName) { - this.nickName = nickName; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getWork() { - return work; - } - - public void setWork(String work) { - this.work = work; - } - - public String getPhone() { - return phone; - } - - public void setPhone(String phone) { - this.phone = phone; - } - - public String getWx() { - return wx; - } - - public void setWx(String wx) { - this.wx = wx; - } - - public String getQq() { - return qq; - } - - public void setQq(String qq) { - this.qq = qq; - } - - public String getTwitter() { - return twitter; - } - - public void setTwitter(String twitter) { - this.twitter = twitter; - } - - public Integer getIsAlways() { - return isAlways; - } - - public void setIsAlways(Integer isAlways) { - this.isAlways = isAlways; - } - - public String getRemark() { - return remark; - } - - public void setRemark(String remark) { - this.remark = remark; - } - - @Override - public String toString() { - return "ZfContact{" + - "id=" + id + - ", myName=" + myName + - ", nickName=" + nickName + - ", name=" + name + - ", work=" + work + - ", phone=" + phone + - ", wx=" + wx + - ", qq=" + qq + - ", twitter=" + twitter + - ", isAlways=" + isAlways + - ", remark=" + remark + - "}"; - } } -- Gitblit v1.9.1