ADD file via upload

master
p5j9vn3t2 2 years ago
parent 2ce204283a
commit cebd27ee1e

@ -0,0 +1,125 @@
package com.example.entity;
import javax.persistence.*;
@Table(name = "admin_info")
public class AdminInfo 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 = "code")
private String code;
@Column(name = "email")
private String email;
@Column(name = "cardId")
private String cardId;
@Column(name = "level")
private Integer level;
@Column(name = "account")
private Double account;
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 getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
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 Double getAccount() {
return account;
}
public void setAccount(Double account) {
this.account = account;
}
public void setId(Long id) {
this.id = id;
}
public Long getId() {
return this.id;
}
}
Loading…
Cancel
Save