添加user表与医生注册表的状态

master
TangZhaoZhen 2023-10-22 10:34:24 +08:00
parent 92452a6373
commit db418939d6
2 changed files with 62 additions and 0 deletions

View File

@ -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;
}
/**
* gettersetter
*/

View File

@ -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;
}