From 27d48268c5384c8e809c2d37f3da851e92d96c3a Mon Sep 17 00:00:00 2001 From: Jinquan_Ou <Jinquan@gdut.com> Date: 星期四, 30 三月 2023 17:33:26 +0800 Subject: [PATCH] 个人模块的所有内容 --- zhang-content/src/main/java/com/ruoyi/domain/ZAutobiography.java | 155 +++------------------------------------------------ 1 files changed, 9 insertions(+), 146 deletions(-) diff --git a/zhang-content/src/main/java/com/ruoyi/domain/ZAutobiography.java b/zhang-content/src/main/java/com/ruoyi/domain/ZAutobiography.java index 16a6f46..848395f 100644 --- a/zhang-content/src/main/java/com/ruoyi/domain/ZAutobiography.java +++ b/zhang-content/src/main/java/com/ruoyi/domain/ZAutobiography.java @@ -3,6 +3,8 @@ import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; + import java.io.Serializable; /** @@ -13,167 +15,28 @@ * @author ojq * @since 2023-03-14 */ +@Data @TableName("z_autobiography") public class ZAutobiography 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; /** - * 濠村効鏈� + * 鏃舵湡 */ - private String infancy; + private Integer type; /** - * 骞煎効鏈� + * 鑷紶鍐呭 */ - private String childhood; + private String content; - /** - * 灏忓 - */ - private String pri; - - /** - * 鍒濅腑 - */ - private String mid; - - /** - * 楂樹腑 - */ - private String senior; - - /** - * 澶у - */ - private String college; - - /** - * 鐮旂┒鐢� - */ - private String postgraduate; - - /** - * 宸ヤ綔 - */ - private String job; - - /** - * 缁撳 - */ - private String marry; - - - public Integer getId() { - return id; - } - - public void setId(Integer id) { - this.id = id; - } - - public Integer getUserId() { - return userId; - } - - public void setUserId(Integer userId) { - this.userId = userId; - } - - public String getInfancy() { - return infancy; - } - - public void setInfancy(String infancy) { - this.infancy = infancy; - } - - public String getChildhood() { - return childhood; - } - - public void setChildhood(String childhood) { - this.childhood = childhood; - } - - public String getPri() { - return pri; - } - - public void setPri(String pri) { - this.pri = pri; - } - - public String getMid() { - return mid; - } - - public void setMid(String mid) { - this.mid = mid; - } - - public String getSenior() { - return senior; - } - - public void setSenior(String senior) { - this.senior = senior; - } - - public String getCollege() { - return college; - } - - public void setCollege(String college) { - this.college = college; - } - - public String getPostgraduate() { - return postgraduate; - } - - public void setPostgraduate(String postgraduate) { - this.postgraduate = postgraduate; - } - - public String getJob() { - return job; - } - - public void setJob(String job) { - this.job = job; - } - - public String getMarry() { - return marry; - } - - public void setMarry(String marry) { - this.marry = marry; - } - - @Override - public String toString() { - return "ZAutobiography{" + - "id=" + id + - ", userId=" + userId + - ", infancy=" + infancy + - ", childhood=" + childhood + - ", pri=" + pri + - ", mid=" + mid + - ", senior=" + senior + - ", college=" + college + - ", postgraduate=" + postgraduate + - ", job=" + job + - ", marry=" + marry + - "}"; - } } -- Gitblit v1.9.1