添加user表与医生注册表的状态
parent
92452a6373
commit
db418939d6
|
@ -13,6 +13,11 @@ public class RegistrationInformation {
|
|||
*/
|
||||
private Integer registrationInformationId;
|
||||
|
||||
/**
|
||||
* 用户表id
|
||||
*/
|
||||
private Integer userId;
|
||||
|
||||
/**
|
||||
* 真实姓名
|
||||
*/
|
||||
|
@ -73,6 +78,31 @@ public class RegistrationInformation {
|
|||
*/
|
||||
private Integer registrationInformationMedicStatus;
|
||||
|
||||
public RegistrationInformation(Integer registrationInformationId, Integer userId, String realName, String affiliatedHospital, Integer medicalDepartmentId, Integer professionalTitleDoctorId, String personalResume, String areaExpertise, Date registrationTime, String numberPatientsServed, BigDecimal consultingPrice, Integer praise, Integer registrationInformationExamineStatus, Integer registrationInformationMedicStatus) {
|
||||
this.registrationInformationId = registrationInformationId;
|
||||
this.userId = userId;
|
||||
this.realName = realName;
|
||||
this.affiliatedHospital = affiliatedHospital;
|
||||
this.medicalDepartmentId = medicalDepartmentId;
|
||||
this.professionalTitleDoctorId = professionalTitleDoctorId;
|
||||
this.personalResume = personalResume;
|
||||
this.areaExpertise = areaExpertise;
|
||||
this.registrationTime = registrationTime;
|
||||
this.numberPatientsServed = numberPatientsServed;
|
||||
this.consultingPrice = consultingPrice;
|
||||
this.praise = praise;
|
||||
this.registrationInformationExamineStatus = registrationInformationExamineStatus;
|
||||
this.registrationInformationMedicStatus = registrationInformationMedicStatus;
|
||||
}
|
||||
|
||||
public Integer getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(Integer userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
/**
|
||||
* 构造函数、getter、setter。。
|
||||
*/
|
||||
|
|
|
@ -78,6 +78,38 @@ public class User {
|
|||
*/
|
||||
private String invitationCode;
|
||||
|
||||
/**
|
||||
* 状态1:患者 2:医生
|
||||
* @return
|
||||
*/
|
||||
private Integer differentialState;
|
||||
|
||||
public Integer getDifferentialState() {
|
||||
return differentialState;
|
||||
}
|
||||
|
||||
public void setDifferentialState(Integer differentialState) {
|
||||
this.differentialState = differentialState;
|
||||
}
|
||||
|
||||
public User(Integer userId, String username, String password, String userEmail, String userPhone, String userAvatar, String userSex, String userSign, Date registrationTime, Integer bindWechatStatus, Integer realNameAuthenticationStatus, Integer bindBankCardStatus, BigDecimal userMoney, String invitationCode, Integer differentialState) {
|
||||
this.userId = userId;
|
||||
this.username = username;
|
||||
this.password = password;
|
||||
this.userEmail = userEmail;
|
||||
this.userPhone = userPhone;
|
||||
this.userAvatar = userAvatar;
|
||||
this.userSex = userSex;
|
||||
this.userSign = userSign;
|
||||
this.registrationTime = registrationTime;
|
||||
this.bindWechatStatus = bindWechatStatus;
|
||||
this.realNameAuthenticationStatus = realNameAuthenticationStatus;
|
||||
this.bindBankCardStatus = bindBankCardStatus;
|
||||
this.userMoney = userMoney;
|
||||
this.invitationCode = invitationCode;
|
||||
this.differentialState = differentialState;
|
||||
}
|
||||
|
||||
public Integer getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue