|
@@ -20,7 +20,7 @@ import cn.com.qmth.examcloud.core.basic.dao.enums.Gender;
|
|
|
@Index(name = "IDX_B_U_002001", columnList = "rootOrgId,loginName", unique = true)})
|
|
|
public class UserEntity extends JpaEntity {
|
|
|
|
|
|
- private static final long serialVersionUID = 9190180279768027647L;
|
|
|
+ private static final long serialVersionUID = 6770398649449396459L;
|
|
|
|
|
|
@Id
|
|
|
@GeneratedValue
|
|
@@ -40,7 +40,7 @@ public class UserEntity extends JpaEntity {
|
|
|
@Column(nullable = false)
|
|
|
private String password;
|
|
|
|
|
|
- private String mobile;
|
|
|
+ private String phoneNumber;
|
|
|
|
|
|
@Enumerated(EnumType.STRING)
|
|
|
private Gender gender;
|
|
@@ -101,12 +101,12 @@ public class UserEntity extends JpaEntity {
|
|
|
this.password = password;
|
|
|
}
|
|
|
|
|
|
- public String getMobile() {
|
|
|
- return mobile;
|
|
|
+ public String getPhoneNumber() {
|
|
|
+ return phoneNumber;
|
|
|
}
|
|
|
|
|
|
- public void setMobile(String mobile) {
|
|
|
- this.mobile = mobile;
|
|
|
+ public void setPhoneNumber(String phoneNumber) {
|
|
|
+ this.phoneNumber = phoneNumber;
|
|
|
}
|
|
|
|
|
|
public Gender getGender() {
|