diff --git a/src/main/java/com/four/common/duck/interrogation/RegistrationInformation.java b/src/main/java/com/four/common/duck/interrogation/RegistrationInformation.java index a68200d..0823b09 100644 --- a/src/main/java/com/four/common/duck/interrogation/RegistrationInformation.java +++ b/src/main/java/com/four/common/duck/interrogation/RegistrationInformation.java @@ -13,6 +13,12 @@ public class RegistrationInformation { */ private Integer registrationInformationId; + + /** + * 用户id + */ + private Integer userId; + /** * 真实姓名 */ @@ -183,8 +189,17 @@ public class RegistrationInformation { this.registrationInformationMedicStatus = registrationInformationMedicStatus; } - public RegistrationInformation(Integer registrationInformationId, String realName, String affiliatedHospital, Integer medicalDepartmentId, Integer professionalTitleDoctorId, String personalResume, String areaExpertise, Date registrationTime, String numberPatientsServed, BigDecimal consultingPrice, Integer praise, Integer registrationInformationExamineStatus, Integer registrationInformationMedicStatus) { + public Integer getUserId() { + return userId; + } + + public void setUserId(Integer userId) { + this.userId = userId; + } + + 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; diff --git a/src/main/java/com/four/common/duck/response/ResponseRegistrationInformation.java b/src/main/java/com/four/common/duck/response/ResponseRegistrationInformation.java index aa2db69..a96b645 100644 --- a/src/main/java/com/four/common/duck/response/ResponseRegistrationInformation.java +++ b/src/main/java/com/four/common/duck/response/ResponseRegistrationInformation.java @@ -11,6 +11,11 @@ public class ResponseRegistrationInformation { */ private Integer registrationInformationId; + /** + * 用户id + */ + private Integer userId; + /** * 真实姓名 */ @@ -82,6 +87,11 @@ public class ResponseRegistrationInformation { */ private Integer professionalTitleDoctorName; + /** + * 用户名称 + */ + private String username; + /** * 构造函数和getter和setter。。 */ @@ -208,8 +218,25 @@ public class ResponseRegistrationInformation { this.professionalTitleDoctorName = professionalTitleDoctorName; } - public ResponseRegistrationInformation(Integer registrationInformationId, String realName, String affiliatedHospital, Integer medicalDepartmentId, Integer professionalTitleDoctorId, String personalResume, String areaExpertise, Date registrationTime, String numberPatientsServed, BigDecimal consultingPrice, Integer praise, Integer registrationInformationExamineStatus, Integer registrationInformationMedicStatus, String name, Integer professionalTitleDoctorName) { + public Integer getUserId() { + return userId; + } + + public void setUserId(Integer userId) { + this.userId = userId; + } + + public String getUsername() { + return username; + } + + public void setUsername(String username) { + this.username = username; + } + + public ResponseRegistrationInformation(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, String name, Integer professionalTitleDoctorName, String username) { this.registrationInformationId = registrationInformationId; + this.userId = userId; this.realName = realName; this.affiliatedHospital = affiliatedHospital; this.medicalDepartmentId = medicalDepartmentId; @@ -224,5 +251,6 @@ public class ResponseRegistrationInformation { this.registrationInformationMedicStatus = registrationInformationMedicStatus; this.name = name; this.professionalTitleDoctorName = professionalTitleDoctorName; + this.username = username; } }