首页 > 其他分享 >饮食分享平台

饮食分享平台

时间:2022-12-23 15:00:10浏览次数:49  
标签:return String void 平台 private 饮食 分享 public name

 

 

 

 系统的实体类

 

 项目的启动类

package com.example.entity;

import javax.persistence.*;

public class Account {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
@Column(name = "name")
private String name;
@Column(name = "password")
private String password;
@Column(name = "level")
private Integer level;
@Column(name = "sex")
private String sex;
@Transient
private String newPassword;
private String address;
@Column(name = "nickName")
private String nickName;
private String phone;
@Transient
private Double account;

public Long getId() {
return id;
}

public void setId(Long id) {
this.id = id;
}

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 Integer getLevel() {
return level;
}

public void setLevel(Integer level) {
this.level = level;
}

public String getSex() {
return sex;
}

public void setSex(String sex) {
this.sex = sex;
}

public String getNewPassword() {
return newPassword;
}

public void setNewPassword(String newPassword) {
this.newPassword = newPassword;
}

public String getAddress() {
return address;
}

public void setAddress(String address) {
this.address = address;
}

public String getNickName() {
return nickName;
}

public void setNickName(String nickName) {
this.nickName = nickName;
}

public String getPhone() {
return phone;
}

public void setPhone(String phone) {
this.phone = phone;
}

public Double getAccount() {
return account;
}

public void setAccount(Double account) {
this.account = account;
}
}
项目的异常处理

标签:return,String,void,平台,private,饮食,分享,public,name
From: https://www.cnblogs.com/mao4399/p/17000677.html

相关文章