修改患者基本信息 VO的验证
This commit is contained in:
parent
2757eb41f6
commit
92f65b7f48
@ -17,11 +17,9 @@ public class patientinfoSaveReqVO {
|
|||||||
private Integer id;
|
private Integer id;
|
||||||
|
|
||||||
@Schema(description = "患者姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
|
@Schema(description = "患者姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
|
||||||
@NotEmpty(message = "患者姓名不能为空")
|
|
||||||
private String name;
|
private String name;
|
||||||
|
|
||||||
@Schema(description = "身份证号", requiredMode = Schema.RequiredMode.REQUIRED)
|
@Schema(description = "身份证号", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
@NotEmpty(message = "身份证号不能为空")
|
|
||||||
private String idcard;
|
private String idcard;
|
||||||
|
|
||||||
@Schema(description = "注册ID", example = "26051")
|
@Schema(description = "注册ID", example = "26051")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user