|
|
|
@ -2,6 +2,10 @@ package com.ruoyi.system.domain.req;
|
|
|
|
|
|
|
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
import org.hibernate.validator.constraints.Length;
|
|
|
|
|
|
|
|
|
|
import javax.validation.constraints.Max;
|
|
|
|
|
import javax.validation.constraints.Min;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* App端添加患者入参实体
|
|
|
|
@ -63,6 +67,8 @@ public class AppPatientReq {
|
|
|
|
|
* 年龄
|
|
|
|
|
*/
|
|
|
|
|
@ApiModelProperty("年龄")
|
|
|
|
|
@Max(120)
|
|
|
|
|
@Min(0)
|
|
|
|
|
private Integer age;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -87,6 +93,7 @@ public class AppPatientReq {
|
|
|
|
|
* 基础疾病
|
|
|
|
|
*/
|
|
|
|
|
@ApiModelProperty("基础疾病")
|
|
|
|
|
@Length(max = 30)
|
|
|
|
|
private String disease;
|
|
|
|
|
|
|
|
|
|
public Long getDoctorId() {
|
|
|
|
|