Commit f31a1f49014155faa03afab3ea96b49076ec0e1f
1 parent
b638793b0b
Exists in
dev
#fix:新增大同出生证明功能模块
Showing 3 changed files with 548 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/BirthController.java
View file @
f31a1f4
| 1 | +package com.lyms.platform.operate.web.controller; | |
| 2 | + | |
| 3 | +import com.lyms.platform.biz.service.PatientsService; | |
| 4 | +import com.lyms.platform.common.annotation.TokenRequired; | |
| 5 | +import com.lyms.platform.common.base.BaseController; | |
| 6 | +import com.lyms.platform.common.base.LoginContext; | |
| 7 | +import com.lyms.platform.common.result.BaseResponse; | |
| 8 | +import com.lyms.platform.common.utils.DateUtil; | |
| 9 | +import com.lyms.platform.operate.web.facade.PatientServiceFacade; | |
| 10 | +import com.lyms.platform.operate.web.result.BirthResult; | |
| 11 | +import com.lyms.platform.query.PatientsQuery; | |
| 12 | +import org.springframework.beans.factory.annotation.Autowired; | |
| 13 | +import org.springframework.stereotype.Controller; | |
| 14 | +import org.springframework.web.bind.annotation.*; | |
| 15 | + | |
| 16 | +import javax.servlet.http.HttpServletRequest; | |
| 17 | + | |
| 18 | +/** | |
| 19 | + * 出生证明一件事一件办管理 | |
| 20 | + */ | |
| 21 | +@Controller | |
| 22 | +@RequestMapping("/birth") | |
| 23 | +public class BirthController extends BaseController { | |
| 24 | + @Autowired | |
| 25 | + private PatientServiceFacade patientServiceFacade; | |
| 26 | + | |
| 27 | + @RequestMapping(value = "/getPatientList", method = RequestMethod.GET) | |
| 28 | + @ResponseBody | |
| 29 | + @TokenRequired | |
| 30 | + public BaseResponse getPatientList(HttpServletRequest request,String vcCardNo | |
| 31 | + ,String cardNo,String name,String fmDateStart,String fmDateEnd){ | |
| 32 | + LoginContext loginState = (LoginContext) request.getAttribute("loginContext"); | |
| 33 | + PatientsQuery patientsQuery=new PatientsQuery(); | |
| 34 | + patientsQuery.setVcCardNo(vcCardNo); | |
| 35 | + patientsQuery.setCardNo(cardNo); | |
| 36 | + patientsQuery.setName(name); | |
| 37 | + patientsQuery.setFmDateStart(DateUtil.parseYMDHMS(fmDateStart+" 00:00:00")); | |
| 38 | + patientsQuery.setFmDateEnd(DateUtil.parseYMDHMS(fmDateEnd+" 23:59:59")); | |
| 39 | + return patientServiceFacade.getPuerperaList(loginState.getId(),patientsQuery); | |
| 40 | + } | |
| 41 | + | |
| 42 | + @RequestMapping(value = "/wx/getPatientInfo", method = RequestMethod.GET) | |
| 43 | + @ResponseBody | |
| 44 | + public BaseResponse getPatientInfo(@RequestParam String parentId){ | |
| 45 | + return patientServiceFacade.getPuerperaInfo(parentId); | |
| 46 | + } | |
| 47 | + | |
| 48 | + @RequestMapping(value = "/wx/update", method = RequestMethod.GET) | |
| 49 | + @ResponseBody | |
| 50 | + public BaseResponse update(@RequestBody BirthResult birthResult){ | |
| 51 | + return patientServiceFacade.updatePuerpera(birthResult); | |
| 52 | + } | |
| 53 | +} |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientServiceFacade.java
View file @
f31a1f4
| ... | ... | @@ -15,6 +15,7 @@ |
| 15 | 15 | import com.lyms.platform.permission.model.*; |
| 16 | 16 | import com.lyms.platform.permission.service.*; |
| 17 | 17 | import com.lyms.platform.pojo.*; |
| 18 | +import com.lyms.platform.query.BabyModelQuery; | |
| 18 | 19 | import com.lyms.platform.query.BasicConfigQuery; |
| 19 | 20 | import com.lyms.platform.query.PatientsQuery; |
| 20 | 21 | import com.lyms.platform.query.TServiceTimeRecordQuery; |
| ... | ... | @@ -1888,6 +1889,99 @@ |
| 1888 | 1889 | } catch (Exception e) { |
| 1889 | 1890 | logger.error("sendServiceMsg Exception " + e); |
| 1890 | 1891 | } |
| 1892 | + } | |
| 1893 | + | |
| 1894 | + public BaseResponse updatePuerpera(BirthResult birthResult){ | |
| 1895 | + BaseResponse baseResponse = new BaseResponse(); | |
| 1896 | + Patients patients=new Patients(); | |
| 1897 | + BeanUtils.copy(birthResult, patients); | |
| 1898 | + patients.setId(birthResult.getParentId()); | |
| 1899 | + patientsService.updatePatient(patients); | |
| 1900 | + BabyModel babyModel=new BabyModel(); | |
| 1901 | + babyModel.setId(birthResult.getBabyId()); | |
| 1902 | + babyModel.setWeek(birthResult.getBabyWeek()); | |
| 1903 | + babyModel.setBabyHeight(birthResult.getBabyHeight()); | |
| 1904 | + babyModel.setBabyWeight(birthResult.getBabyWeight()); | |
| 1905 | + babyModel.setDeliverOrg(birthResult.getDeliverOrg()); | |
| 1906 | + babyModel.setSex(birthResult.getBabySex()); | |
| 1907 | + babyModel.setName(birthResult.getBabyName()); | |
| 1908 | + babyService.updateOneBaby(babyModel,babyModel.getId()); | |
| 1909 | + baseResponse.setErrorcode(ErrorCodeConstants.SUCCESS); | |
| 1910 | + baseResponse.setErrormsg("成功"); | |
| 1911 | + return baseResponse; | |
| 1912 | + } | |
| 1913 | + | |
| 1914 | + public BaseResponse getPuerperaInfo(String parentId){ | |
| 1915 | + BaseResponse baseResponse = new BaseResponse(); | |
| 1916 | + | |
| 1917 | + Patients patients= patientsService.findOnePatientById(parentId); | |
| 1918 | + if (patients.getType()!=3){ | |
| 1919 | + baseResponse.setErrorcode(ErrorCodeConstants.DATA_EXIST); | |
| 1920 | + baseResponse.setErrormsg("数据异常"); | |
| 1921 | + } | |
| 1922 | + BabyModelQuery babyQuery=new BabyModelQuery(); | |
| 1923 | + babyQuery.setYn(1); | |
| 1924 | + BirthResult birthResult=new BirthResult(); | |
| 1925 | + BeanUtils.copy(patients, birthResult); | |
| 1926 | + birthResult.setParentId(patients.getId()); | |
| 1927 | + babyQuery.setParentId(patients.getId()); | |
| 1928 | + List<BabyModel> babyModels= babyService.queryBabyWithQuery(babyQuery); | |
| 1929 | + if (CollectionUtils.isNotEmpty(babyModels)){ | |
| 1930 | + BabyModel babyModel= babyModels.get(0); | |
| 1931 | + birthResult.setBabyId(babyModel.getId()); | |
| 1932 | + birthResult.setBabyHeight(babyModel.getBabyHeight()); | |
| 1933 | + birthResult.setBabyName(babyModel.getName()); | |
| 1934 | + birthResult.setBabyWeight(babyModel.getBabyWeight()); | |
| 1935 | + birthResult.setBabyWeek(babyModel.getWeek()); | |
| 1936 | + birthResult.setBabySex(babyModel.getSex()); | |
| 1937 | + birthResult.setCommunityId(babyModel.getCommunityId()); | |
| 1938 | + birthResult.setDeliverOrg(babyModel.getDeliverOrg()); | |
| 1939 | + birthResult.setBlNo(babyModel.getBlNo()); | |
| 1940 | + } | |
| 1941 | + baseResponse.setObject(birthResult); | |
| 1942 | + baseResponse.setErrorcode(ErrorCodeConstants.SUCCESS); | |
| 1943 | + baseResponse.setErrormsg("成功"); | |
| 1944 | + return baseResponse; | |
| 1945 | + } | |
| 1946 | + | |
| 1947 | + | |
| 1948 | + public BaseResponse getPuerperaList(Integer userId,PatientsQuery patientsQuery){ | |
| 1949 | + String hospitalId = autoMatchFacade.getHospitalId(userId); | |
| 1950 | + BaseListResponse baseResponse = new BaseListResponse(); | |
| 1951 | + patientsQuery.setHospitalId(hospitalId); | |
| 1952 | + patientsQuery.setType(3); | |
| 1953 | + patientsQuery.setYn(1); | |
| 1954 | + patientsQuery.setNeed("true"); | |
| 1955 | + List<Patients> list = patientsService.queryPatient(patientsQuery); | |
| 1956 | + if (CollectionUtils.isNotEmpty(list)){ | |
| 1957 | + List<BirthResult> birthResults=new ArrayList<>(); | |
| 1958 | + BabyModelQuery babyQuery=new BabyModelQuery(); | |
| 1959 | + babyQuery.setYn(1); | |
| 1960 | + babyQuery.setHospitalId(hospitalId); | |
| 1961 | + for (Patients patients:list){ | |
| 1962 | + BirthResult birthResult=new BirthResult(); | |
| 1963 | + BeanUtils.copy(patients, birthResult); | |
| 1964 | + birthResult.setParentId(patients.getId()); | |
| 1965 | + babyQuery.setParentId(patients.getId()); | |
| 1966 | + List<BabyModel> babyModels= babyService.queryBabyWithQuery(babyQuery); | |
| 1967 | + if (CollectionUtils.isNotEmpty(babyModels)){ | |
| 1968 | + BabyModel babyModel= babyModels.get(0); | |
| 1969 | + birthResult.setBabyId(babyModel.getId()); | |
| 1970 | + birthResult.setBabyHeight(babyModel.getBabyHeight()); | |
| 1971 | + birthResult.setBabyName(babyModel.getName()); | |
| 1972 | + birthResult.setBabyWeight(babyModel.getBabyWeight()); | |
| 1973 | + birthResult.setBabyWeek(babyModel.getWeek()); | |
| 1974 | + birthResult.setBabySex(babyModel.getSex()); | |
| 1975 | + birthResult.setCommunityId(babyModel.getCommunityId()); | |
| 1976 | + birthResult.setDeliverOrg(babyModel.getDeliverOrg()); | |
| 1977 | + birthResult.setBlNo(babyModel.getBlNo()); | |
| 1978 | + } | |
| 1979 | + birthResults.add(birthResult); | |
| 1980 | + } | |
| 1981 | + baseResponse.setData(birthResults); | |
| 1982 | + } | |
| 1983 | + baseResponse.setPageInfo(patientsQuery.getPageInfo()); | |
| 1984 | + return baseResponse; | |
| 1891 | 1985 | } |
| 1892 | 1986 | } |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/BirthResult.java
View file @
f31a1f4
| 1 | +package com.lyms.platform.operate.web.result; | |
| 2 | + | |
| 3 | + | |
| 4 | +public class BirthResult { | |
| 5 | + private String parentId; | |
| 6 | + private String pId; | |
| 7 | + private String username; | |
| 8 | + private String vcCardNo; | |
| 9 | + private String cardNo; | |
| 10 | + /** | |
| 11 | + * @auther HuJiaqi | |
| 12 | + * @createTime 2016年12月20日 14时42分 | |
| 13 | + * @discription 年龄 | |
| 14 | + */ | |
| 15 | + private Integer age; | |
| 16 | + //孕妇国籍Id | |
| 17 | + private String pcountryId; | |
| 18 | + | |
| 19 | + //孕妇民族Id | |
| 20 | + private String pnationId; | |
| 21 | + | |
| 22 | + //户籍类型Id | |
| 23 | + private String pcensusTypeId; | |
| 24 | + | |
| 25 | + | |
| 26 | + /***********丈夫信息***********/ | |
| 27 | + /** | |
| 28 | + * @auther HuJiaqi | |
| 29 | + * @createTime 2016年12月20日 14时42分 | |
| 30 | + * @discription 丈夫姓名 | |
| 31 | + */ | |
| 32 | + private String husbandName; | |
| 33 | + //证件号 | |
| 34 | + private String hcertificateNum; | |
| 35 | + //国籍Id | |
| 36 | + private String hcountryId; | |
| 37 | + //民族Id | |
| 38 | + private String hnationId; | |
| 39 | + | |
| 40 | + //户籍地址 | |
| 41 | + private String haddressRegister; | |
| 42 | + private String hprovinceRegisterId; | |
| 43 | + private String hcityRegisterId; | |
| 44 | + private String hareaRegisterId; | |
| 45 | + private String hstreetRegisterId; | |
| 46 | + /** | |
| 47 | + * 丈夫居住地 | |
| 48 | + */ | |
| 49 | + private String hprovinceId; | |
| 50 | + private String hcityId; | |
| 51 | + private String hareaId; | |
| 52 | + private String hstreetId; | |
| 53 | + //村 | |
| 54 | + private String hvillage; | |
| 55 | + private String haddress; | |
| 56 | + | |
| 57 | + /******add by lqy end *********/ | |
| 58 | + /** | |
| 59 | + * 孕妇户籍地址 | |
| 60 | + */ | |
| 61 | + private String address; | |
| 62 | + private String provinceId; | |
| 63 | + private String cityId; | |
| 64 | + private String areaId; | |
| 65 | + private String streetId; | |
| 66 | + private String villageId; | |
| 67 | + | |
| 68 | + /** | |
| 69 | + * 儿童出生社区id | |
| 70 | + */ | |
| 71 | + private String communityId; | |
| 72 | + //助产机构 | |
| 73 | + private String deliverOrg; | |
| 74 | + //儿童孕周 | |
| 75 | + private String babyWeek; | |
| 76 | + private Integer babySex; | |
| 77 | + //体重 | |
| 78 | + private String babyWeight; | |
| 79 | + //身高 | |
| 80 | + private String babyHeight; | |
| 81 | + | |
| 82 | + private String babyId; | |
| 83 | + /** | |
| 84 | + * 小孩名称 | |
| 85 | + */ | |
| 86 | + private String babyName; | |
| 87 | + //病历号(住院号) | |
| 88 | + private String blNo; | |
| 89 | + | |
| 90 | + public String getBabyId() { | |
| 91 | + return babyId; | |
| 92 | + } | |
| 93 | + | |
| 94 | + public void setBabyId(String babyId) { | |
| 95 | + this.babyId = babyId; | |
| 96 | + } | |
| 97 | + | |
| 98 | + public String getBlNo() { | |
| 99 | + return blNo; | |
| 100 | + } | |
| 101 | + | |
| 102 | + public void setBlNo(String blNo) { | |
| 103 | + this.blNo = blNo; | |
| 104 | + } | |
| 105 | + | |
| 106 | + public String getParentId() { | |
| 107 | + return parentId; | |
| 108 | + } | |
| 109 | + | |
| 110 | + public void setParentId(String parentId) { | |
| 111 | + this.parentId = parentId; | |
| 112 | + } | |
| 113 | + | |
| 114 | + public String getpId() { | |
| 115 | + return pId; | |
| 116 | + } | |
| 117 | + | |
| 118 | + public void setpId(String pId) { | |
| 119 | + this.pId = pId; | |
| 120 | + } | |
| 121 | + | |
| 122 | + public String getUsername() { | |
| 123 | + return username; | |
| 124 | + } | |
| 125 | + | |
| 126 | + public void setUsername(String username) { | |
| 127 | + this.username = username; | |
| 128 | + } | |
| 129 | + | |
| 130 | + public String getVcCardNo() { | |
| 131 | + return vcCardNo; | |
| 132 | + } | |
| 133 | + | |
| 134 | + public void setVcCardNo(String vcCardNo) { | |
| 135 | + this.vcCardNo = vcCardNo; | |
| 136 | + } | |
| 137 | + | |
| 138 | + public String getCardNo() { | |
| 139 | + return cardNo; | |
| 140 | + } | |
| 141 | + | |
| 142 | + public void setCardNo(String cardNo) { | |
| 143 | + this.cardNo = cardNo; | |
| 144 | + } | |
| 145 | + | |
| 146 | + public Integer getAge() { | |
| 147 | + return age; | |
| 148 | + } | |
| 149 | + | |
| 150 | + public void setAge(Integer age) { | |
| 151 | + this.age = age; | |
| 152 | + } | |
| 153 | + | |
| 154 | + public String getPcountryId() { | |
| 155 | + return pcountryId; | |
| 156 | + } | |
| 157 | + | |
| 158 | + public void setPcountryId(String pcountryId) { | |
| 159 | + this.pcountryId = pcountryId; | |
| 160 | + } | |
| 161 | + | |
| 162 | + public String getPnationId() { | |
| 163 | + return pnationId; | |
| 164 | + } | |
| 165 | + | |
| 166 | + public void setPnationId(String pnationId) { | |
| 167 | + this.pnationId = pnationId; | |
| 168 | + } | |
| 169 | + | |
| 170 | + public String getPcensusTypeId() { | |
| 171 | + return pcensusTypeId; | |
| 172 | + } | |
| 173 | + | |
| 174 | + public void setPcensusTypeId(String pcensusTypeId) { | |
| 175 | + this.pcensusTypeId = pcensusTypeId; | |
| 176 | + } | |
| 177 | + | |
| 178 | + public String getHusbandName() { | |
| 179 | + return husbandName; | |
| 180 | + } | |
| 181 | + | |
| 182 | + public void setHusbandName(String husbandName) { | |
| 183 | + this.husbandName = husbandName; | |
| 184 | + } | |
| 185 | + | |
| 186 | + public String getHcertificateNum() { | |
| 187 | + return hcertificateNum; | |
| 188 | + } | |
| 189 | + | |
| 190 | + public void setHcertificateNum(String hcertificateNum) { | |
| 191 | + this.hcertificateNum = hcertificateNum; | |
| 192 | + } | |
| 193 | + | |
| 194 | + public String getHcountryId() { | |
| 195 | + return hcountryId; | |
| 196 | + } | |
| 197 | + | |
| 198 | + public void setHcountryId(String hcountryId) { | |
| 199 | + this.hcountryId = hcountryId; | |
| 200 | + } | |
| 201 | + | |
| 202 | + public String getHnationId() { | |
| 203 | + return hnationId; | |
| 204 | + } | |
| 205 | + | |
| 206 | + public void setHnationId(String hnationId) { | |
| 207 | + this.hnationId = hnationId; | |
| 208 | + } | |
| 209 | + | |
| 210 | + public String getHaddressRegister() { | |
| 211 | + return haddressRegister; | |
| 212 | + } | |
| 213 | + | |
| 214 | + public void setHaddressRegister(String haddressRegister) { | |
| 215 | + this.haddressRegister = haddressRegister; | |
| 216 | + } | |
| 217 | + | |
| 218 | + public String getHprovinceRegisterId() { | |
| 219 | + return hprovinceRegisterId; | |
| 220 | + } | |
| 221 | + | |
| 222 | + public void setHprovinceRegisterId(String hprovinceRegisterId) { | |
| 223 | + this.hprovinceRegisterId = hprovinceRegisterId; | |
| 224 | + } | |
| 225 | + | |
| 226 | + public String getHcityRegisterId() { | |
| 227 | + return hcityRegisterId; | |
| 228 | + } | |
| 229 | + | |
| 230 | + public void setHcityRegisterId(String hcityRegisterId) { | |
| 231 | + this.hcityRegisterId = hcityRegisterId; | |
| 232 | + } | |
| 233 | + | |
| 234 | + public String getHareaRegisterId() { | |
| 235 | + return hareaRegisterId; | |
| 236 | + } | |
| 237 | + | |
| 238 | + public void setHareaRegisterId(String hareaRegisterId) { | |
| 239 | + this.hareaRegisterId = hareaRegisterId; | |
| 240 | + } | |
| 241 | + | |
| 242 | + public String getHstreetRegisterId() { | |
| 243 | + return hstreetRegisterId; | |
| 244 | + } | |
| 245 | + | |
| 246 | + public void setHstreetRegisterId(String hstreetRegisterId) { | |
| 247 | + this.hstreetRegisterId = hstreetRegisterId; | |
| 248 | + } | |
| 249 | + | |
| 250 | + public String getHprovinceId() { | |
| 251 | + return hprovinceId; | |
| 252 | + } | |
| 253 | + | |
| 254 | + public void setHprovinceId(String hprovinceId) { | |
| 255 | + this.hprovinceId = hprovinceId; | |
| 256 | + } | |
| 257 | + | |
| 258 | + public String getHcityId() { | |
| 259 | + return hcityId; | |
| 260 | + } | |
| 261 | + | |
| 262 | + public void setHcityId(String hcityId) { | |
| 263 | + this.hcityId = hcityId; | |
| 264 | + } | |
| 265 | + | |
| 266 | + public String getHareaId() { | |
| 267 | + return hareaId; | |
| 268 | + } | |
| 269 | + | |
| 270 | + public void setHareaId(String hareaId) { | |
| 271 | + this.hareaId = hareaId; | |
| 272 | + } | |
| 273 | + | |
| 274 | + public String getHstreetId() { | |
| 275 | + return hstreetId; | |
| 276 | + } | |
| 277 | + | |
| 278 | + public void setHstreetId(String hstreetId) { | |
| 279 | + this.hstreetId = hstreetId; | |
| 280 | + } | |
| 281 | + | |
| 282 | + public String getHvillage() { | |
| 283 | + return hvillage; | |
| 284 | + } | |
| 285 | + | |
| 286 | + public void setHvillage(String hvillage) { | |
| 287 | + this.hvillage = hvillage; | |
| 288 | + } | |
| 289 | + | |
| 290 | + public String getHaddress() { | |
| 291 | + return haddress; | |
| 292 | + } | |
| 293 | + | |
| 294 | + public void setHaddress(String haddress) { | |
| 295 | + this.haddress = haddress; | |
| 296 | + } | |
| 297 | + | |
| 298 | + public String getAddress() { | |
| 299 | + return address; | |
| 300 | + } | |
| 301 | + | |
| 302 | + public void setAddress(String address) { | |
| 303 | + this.address = address; | |
| 304 | + } | |
| 305 | + | |
| 306 | + public String getProvinceId() { | |
| 307 | + return provinceId; | |
| 308 | + } | |
| 309 | + | |
| 310 | + public void setProvinceId(String provinceId) { | |
| 311 | + this.provinceId = provinceId; | |
| 312 | + } | |
| 313 | + | |
| 314 | + public String getCityId() { | |
| 315 | + return cityId; | |
| 316 | + } | |
| 317 | + | |
| 318 | + public void setCityId(String cityId) { | |
| 319 | + this.cityId = cityId; | |
| 320 | + } | |
| 321 | + | |
| 322 | + public String getAreaId() { | |
| 323 | + return areaId; | |
| 324 | + } | |
| 325 | + | |
| 326 | + public void setAreaId(String areaId) { | |
| 327 | + this.areaId = areaId; | |
| 328 | + } | |
| 329 | + | |
| 330 | + public String getStreetId() { | |
| 331 | + return streetId; | |
| 332 | + } | |
| 333 | + | |
| 334 | + public void setStreetId(String streetId) { | |
| 335 | + this.streetId = streetId; | |
| 336 | + } | |
| 337 | + | |
| 338 | + public String getVillageId() { | |
| 339 | + return villageId; | |
| 340 | + } | |
| 341 | + | |
| 342 | + public void setVillageId(String villageId) { | |
| 343 | + this.villageId = villageId; | |
| 344 | + } | |
| 345 | + | |
| 346 | + public String getCommunityId() { | |
| 347 | + return communityId; | |
| 348 | + } | |
| 349 | + | |
| 350 | + public void setCommunityId(String communityId) { | |
| 351 | + this.communityId = communityId; | |
| 352 | + } | |
| 353 | + | |
| 354 | + public String getDeliverOrg() { | |
| 355 | + return deliverOrg; | |
| 356 | + } | |
| 357 | + | |
| 358 | + public void setDeliverOrg(String deliverOrg) { | |
| 359 | + this.deliverOrg = deliverOrg; | |
| 360 | + } | |
| 361 | + | |
| 362 | + public String getBabyWeek() { | |
| 363 | + return babyWeek; | |
| 364 | + } | |
| 365 | + | |
| 366 | + public void setBabyWeek(String babyWeek) { | |
| 367 | + this.babyWeek = babyWeek; | |
| 368 | + } | |
| 369 | + | |
| 370 | + public Integer getBabySex() { | |
| 371 | + return babySex; | |
| 372 | + } | |
| 373 | + | |
| 374 | + public void setBabySex(Integer babySex) { | |
| 375 | + this.babySex = babySex; | |
| 376 | + } | |
| 377 | + | |
| 378 | + public String getBabyWeight() { | |
| 379 | + return babyWeight; | |
| 380 | + } | |
| 381 | + | |
| 382 | + public void setBabyWeight(String babyWeight) { | |
| 383 | + this.babyWeight = babyWeight; | |
| 384 | + } | |
| 385 | + | |
| 386 | + public String getBabyHeight() { | |
| 387 | + return babyHeight; | |
| 388 | + } | |
| 389 | + | |
| 390 | + public void setBabyHeight(String babyHeight) { | |
| 391 | + this.babyHeight = babyHeight; | |
| 392 | + } | |
| 393 | + | |
| 394 | + public String getBabyName() { | |
| 395 | + return babyName; | |
| 396 | + } | |
| 397 | + | |
| 398 | + public void setBabyName(String babyName) { | |
| 399 | + this.babyName = babyName; | |
| 400 | + } | |
| 401 | +} |