|
|
@ -1,4 +1,4 @@
|
|
|
|
package com.imooc.dianping.model;
|
|
|
|
package com.example.recommend.model;
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.Date;
|
|
|
|
import java.util.Date;
|
|
|
|
|
|
|
|
|
|
|
@ -8,7 +8,7 @@ public class UserModel {
|
|
|
|
* This field was generated by MyBatis Generator.
|
|
|
|
* This field was generated by MyBatis Generator.
|
|
|
|
* This field corresponds to the database column user.id
|
|
|
|
* This field corresponds to the database column user.id
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @mbg.generated Fri Oct 06 13:41:12 CST 2023
|
|
|
|
* @mbg.generated Mon Oct 09 13:50:54 CST 2023
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
private Integer id;
|
|
|
|
private Integer id;
|
|
|
|
|
|
|
|
|
|
|
@ -17,7 +17,7 @@ public class UserModel {
|
|
|
|
* This field was generated by MyBatis Generator.
|
|
|
|
* This field was generated by MyBatis Generator.
|
|
|
|
* This field corresponds to the database column user.created_at
|
|
|
|
* This field corresponds to the database column user.created_at
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @mbg.generated Fri Oct 06 13:41:12 CST 2023
|
|
|
|
* @mbg.generated Mon Oct 09 13:50:54 CST 2023
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
private Date createdAt;
|
|
|
|
private Date createdAt;
|
|
|
|
|
|
|
|
|
|
|
@ -26,7 +26,7 @@ public class UserModel {
|
|
|
|
* This field was generated by MyBatis Generator.
|
|
|
|
* This field was generated by MyBatis Generator.
|
|
|
|
* This field corresponds to the database column user.updated_at
|
|
|
|
* This field corresponds to the database column user.updated_at
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @mbg.generated Fri Oct 06 13:41:12 CST 2023
|
|
|
|
* @mbg.generated Mon Oct 09 13:50:54 CST 2023
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
private Date updatedAt;
|
|
|
|
private Date updatedAt;
|
|
|
|
|
|
|
|
|
|
|
@ -35,7 +35,7 @@ public class UserModel {
|
|
|
|
* This field was generated by MyBatis Generator.
|
|
|
|
* This field was generated by MyBatis Generator.
|
|
|
|
* This field corresponds to the database column user.telephone
|
|
|
|
* This field corresponds to the database column user.telephone
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @mbg.generated Fri Oct 06 13:41:12 CST 2023
|
|
|
|
* @mbg.generated Mon Oct 09 13:50:54 CST 2023
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
private String telephone;
|
|
|
|
private String telephone;
|
|
|
|
|
|
|
|
|
|
|
@ -44,7 +44,7 @@ public class UserModel {
|
|
|
|
* This field was generated by MyBatis Generator.
|
|
|
|
* This field was generated by MyBatis Generator.
|
|
|
|
* This field corresponds to the database column user.password
|
|
|
|
* This field corresponds to the database column user.password
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @mbg.generated Fri Oct 06 13:41:12 CST 2023
|
|
|
|
* @mbg.generated Mon Oct 09 13:50:54 CST 2023
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
private String password;
|
|
|
|
private String password;
|
|
|
|
|
|
|
|
|
|
|
@ -53,7 +53,7 @@ public class UserModel {
|
|
|
|
* This field was generated by MyBatis Generator.
|
|
|
|
* This field was generated by MyBatis Generator.
|
|
|
|
* This field corresponds to the database column user.nick_name
|
|
|
|
* This field corresponds to the database column user.nick_name
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @mbg.generated Fri Oct 06 13:41:12 CST 2023
|
|
|
|
* @mbg.generated Mon Oct 09 13:50:54 CST 2023
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
private String nickName;
|
|
|
|
private String nickName;
|
|
|
|
|
|
|
|
|
|
|
@ -62,7 +62,7 @@ public class UserModel {
|
|
|
|
* This field was generated by MyBatis Generator.
|
|
|
|
* This field was generated by MyBatis Generator.
|
|
|
|
* This field corresponds to the database column user.gender
|
|
|
|
* This field corresponds to the database column user.gender
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @mbg.generated Fri Oct 06 13:41:12 CST 2023
|
|
|
|
* @mbg.generated Mon Oct 09 13:50:54 CST 2023
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
private Integer gender;
|
|
|
|
private Integer gender;
|
|
|
|
|
|
|
|
|
|
|
@ -72,7 +72,7 @@ public class UserModel {
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @return the value of user.id
|
|
|
|
* @return the value of user.id
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @mbg.generated Fri Oct 06 13:41:12 CST 2023
|
|
|
|
* @mbg.generated Mon Oct 09 13:50:54 CST 2023
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public Integer getId() {
|
|
|
|
public Integer getId() {
|
|
|
|
return id;
|
|
|
|
return id;
|
|
|
@ -84,7 +84,7 @@ public class UserModel {
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param id the value for user.id
|
|
|
|
* @param id the value for user.id
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @mbg.generated Fri Oct 06 13:41:12 CST 2023
|
|
|
|
* @mbg.generated Mon Oct 09 13:50:54 CST 2023
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public void setId(Integer id) {
|
|
|
|
public void setId(Integer id) {
|
|
|
|
this.id = id;
|
|
|
|
this.id = id;
|
|
|
@ -96,7 +96,7 @@ public class UserModel {
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @return the value of user.created_at
|
|
|
|
* @return the value of user.created_at
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @mbg.generated Fri Oct 06 13:41:12 CST 2023
|
|
|
|
* @mbg.generated Mon Oct 09 13:50:54 CST 2023
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public Date getCreatedAt() {
|
|
|
|
public Date getCreatedAt() {
|
|
|
|
return createdAt;
|
|
|
|
return createdAt;
|
|
|
@ -108,7 +108,7 @@ public class UserModel {
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param createdAt the value for user.created_at
|
|
|
|
* @param createdAt the value for user.created_at
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @mbg.generated Fri Oct 06 13:41:12 CST 2023
|
|
|
|
* @mbg.generated Mon Oct 09 13:50:54 CST 2023
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public void setCreatedAt(Date createdAt) {
|
|
|
|
public void setCreatedAt(Date createdAt) {
|
|
|
|
this.createdAt = createdAt;
|
|
|
|
this.createdAt = createdAt;
|
|
|
@ -120,7 +120,7 @@ public class UserModel {
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @return the value of user.updated_at
|
|
|
|
* @return the value of user.updated_at
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @mbg.generated Fri Oct 06 13:41:12 CST 2023
|
|
|
|
* @mbg.generated Mon Oct 09 13:50:54 CST 2023
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public Date getUpdatedAt() {
|
|
|
|
public Date getUpdatedAt() {
|
|
|
|
return updatedAt;
|
|
|
|
return updatedAt;
|
|
|
@ -132,7 +132,7 @@ public class UserModel {
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param updatedAt the value for user.updated_at
|
|
|
|
* @param updatedAt the value for user.updated_at
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @mbg.generated Fri Oct 06 13:41:12 CST 2023
|
|
|
|
* @mbg.generated Mon Oct 09 13:50:54 CST 2023
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public void setUpdatedAt(Date updatedAt) {
|
|
|
|
public void setUpdatedAt(Date updatedAt) {
|
|
|
|
this.updatedAt = updatedAt;
|
|
|
|
this.updatedAt = updatedAt;
|
|
|
@ -144,7 +144,7 @@ public class UserModel {
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @return the value of user.telephone
|
|
|
|
* @return the value of user.telephone
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @mbg.generated Fri Oct 06 13:41:12 CST 2023
|
|
|
|
* @mbg.generated Mon Oct 09 13:50:54 CST 2023
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public String getTelephone() {
|
|
|
|
public String getTelephone() {
|
|
|
|
return telephone;
|
|
|
|
return telephone;
|
|
|
@ -156,7 +156,7 @@ public class UserModel {
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param telephone the value for user.telephone
|
|
|
|
* @param telephone the value for user.telephone
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @mbg.generated Fri Oct 06 13:41:12 CST 2023
|
|
|
|
* @mbg.generated Mon Oct 09 13:50:54 CST 2023
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public void setTelephone(String telephone) {
|
|
|
|
public void setTelephone(String telephone) {
|
|
|
|
this.telephone = telephone == null ? null : telephone.trim();
|
|
|
|
this.telephone = telephone == null ? null : telephone.trim();
|
|
|
@ -168,7 +168,7 @@ public class UserModel {
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @return the value of user.password
|
|
|
|
* @return the value of user.password
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @mbg.generated Fri Oct 06 13:41:12 CST 2023
|
|
|
|
* @mbg.generated Mon Oct 09 13:50:54 CST 2023
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public String getPassword() {
|
|
|
|
public String getPassword() {
|
|
|
|
return password;
|
|
|
|
return password;
|
|
|
@ -180,7 +180,7 @@ public class UserModel {
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param password the value for user.password
|
|
|
|
* @param password the value for user.password
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @mbg.generated Fri Oct 06 13:41:12 CST 2023
|
|
|
|
* @mbg.generated Mon Oct 09 13:50:54 CST 2023
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public void setPassword(String password) {
|
|
|
|
public void setPassword(String password) {
|
|
|
|
this.password = password == null ? null : password.trim();
|
|
|
|
this.password = password == null ? null : password.trim();
|
|
|
@ -192,7 +192,7 @@ public class UserModel {
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @return the value of user.nick_name
|
|
|
|
* @return the value of user.nick_name
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @mbg.generated Fri Oct 06 13:41:12 CST 2023
|
|
|
|
* @mbg.generated Mon Oct 09 13:50:54 CST 2023
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public String getNickName() {
|
|
|
|
public String getNickName() {
|
|
|
|
return nickName;
|
|
|
|
return nickName;
|
|
|
@ -204,7 +204,7 @@ public class UserModel {
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param nickName the value for user.nick_name
|
|
|
|
* @param nickName the value for user.nick_name
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @mbg.generated Fri Oct 06 13:41:12 CST 2023
|
|
|
|
* @mbg.generated Mon Oct 09 13:50:54 CST 2023
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public void setNickName(String nickName) {
|
|
|
|
public void setNickName(String nickName) {
|
|
|
|
this.nickName = nickName == null ? null : nickName.trim();
|
|
|
|
this.nickName = nickName == null ? null : nickName.trim();
|
|
|
@ -216,7 +216,7 @@ public class UserModel {
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @return the value of user.gender
|
|
|
|
* @return the value of user.gender
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @mbg.generated Fri Oct 06 13:41:12 CST 2023
|
|
|
|
* @mbg.generated Mon Oct 09 13:50:54 CST 2023
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public Integer getGender() {
|
|
|
|
public Integer getGender() {
|
|
|
|
return gender;
|
|
|
|
return gender;
|
|
|
@ -228,7 +228,7 @@ public class UserModel {
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param gender the value for user.gender
|
|
|
|
* @param gender the value for user.gender
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @mbg.generated Fri Oct 06 13:41:12 CST 2023
|
|
|
|
* @mbg.generated Mon Oct 09 13:50:54 CST 2023
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public void setGender(Integer gender) {
|
|
|
|
public void setGender(Integer gender) {
|
|
|
|
this.gender = gender;
|
|
|
|
this.gender = gender;
|