mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-21 01:10:39 +08:00
用户注册功能实现;用户表添加email字段
This commit is contained in:
@@ -55,6 +55,15 @@ public class UserDO {
|
||||
*/
|
||||
private String avatar;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column user_info.email
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
private String email;
|
||||
|
||||
/**
|
||||
*
|
||||
* This field was generated by MyBatis Generator.
|
||||
@@ -226,6 +235,30 @@ public class UserDO {
|
||||
this.avatar = avatar == null ? null : avatar.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column user_info.email
|
||||
*
|
||||
* @return the value of user_info.email
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public String getEmail() {
|
||||
return email;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column user_info.email
|
||||
*
|
||||
* @param email the value for user_info.email
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
public void setEmail(String email) {
|
||||
this.email = email == null ? null : email.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column user_info.phone
|
||||
|
Reference in New Issue
Block a user