From 10728d9dfa4beedef4cd93deec3ff4428364b8cc Mon Sep 17 00:00:00 2001 From: p5j9vn3t2 <2596686495@qq.com> Date: Sun, 30 Apr 2023 08:29:47 +0800 Subject: [PATCH] ADD file via upload --- src/main/java/com/entity/UserInfo.java | 109 +++++++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 src/main/java/com/entity/UserInfo.java diff --git a/src/main/java/com/entity/UserInfo.java b/src/main/java/com/entity/UserInfo.java new file mode 100644 index 0000000..a7af973 --- /dev/null +++ b/src/main/java/com/entity/UserInfo.java @@ -0,0 +1,109 @@ +package com.example.entity; + +import javax.persistence.*; + +@Table(name = "user_info") +public class UserInfo extends Account { + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + private Long id; + + @Column(name = "name") + private String name; + @Column(name = "password") + private String password; + @Column(name = "nickName") + private String nickName; + @Column(name = "sex") + private String sex; + @Column(name = "age") + private Integer age; + @Column(name = "birthday") + private String birthday; + @Column(name = "phone") + private String phone; + @Column(name = "address") + private String address; + @Column(name = "email") + private String email; + @Column(name = "cardId") + private String cardId; + @Column(name = "level") + private Integer level; + + public String getName() { + return name; + } + public void setName(String name) { + this.name = name; + } + public String getPassword() { + return password; + } + public void setPassword(String password) { + this.password = password; + } + public String getNickName() { + return nickName; + } + public void setNickName(String nickName) { + this.nickName = nickName; + } + public String getSex() { + return sex; + } + public void setSex(String sex) { + this.sex = sex; + } + public Integer getAge() { + return age; + } + public void setAge(Integer age) { + this.age = age; + } + public String getBirthday() { + return birthday; + } + public void setBirthday(String birthday) { + this.birthday = birthday; + } + public String getPhone() { + return phone; + } + public void setPhone(String phone) { + this.phone = phone; + } + public String getAddress() { + return address; + } + public void setAddress(String address) { + this.address = address; + } + public String getEmail() { + return email; + } + public void setEmail(String email) { + this.email = email; + } + public String getCardId() { + return cardId; + } + public void setCardId(String cardId) { + this.cardId = cardId; + } + public Integer getLevel() { + return level; + } + public void setLevel(Integer level) { + this.level = level; + } + + + public void setId(Long id) { + this.id = id; + } + public Long getId() { + return this.id; + } + +}