Browse Source

成员只限制姓名身份证号必填

master
yinzuomei 3 years ago
parent
commit
666971bdc9
  1. 7
      epmet-user/epmet-user-client/src/main/java/com/epmet/dto/form/IcResiCollectMemFormDTO.java

7
epmet-user/epmet-user-client/src/main/java/com/epmet/dto/form/IcResiCollectMemFormDTO.java

@ -3,7 +3,6 @@ package com.epmet.dto.form;
import lombok.Data; import lombok.Data;
import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable; import java.io.Serializable;
@Data @Data
@ -27,18 +26,18 @@ public class IcResiCollectMemFormDTO implements Serializable {
/** /**
* 居住成员1手机号 * 居住成员1手机号
*/ */
@NotBlank(message = "手机号不能为空", groups = {IcResiCollectFormDTO.InternalShowGroup.class, IcResiCollectFormDTO.ExternalShowGroup.class}) // @NotBlank(message = "手机号不能为空", groups = {IcResiCollectFormDTO.InternalShowGroup.class, IcResiCollectFormDTO.ExternalShowGroup.class})
private String mobile; private String mobile;
/** /**
* 居住成员1是否参加几轮全员核算检测数字1-10 * 居住成员1是否参加几轮全员核算检测数字1-10
*/ */
@NotBlank(message = "核算检测情况不能为空", groups = {IcResiCollectFormDTO.InternalShowGroup.class, IcResiCollectFormDTO.ExternalShowGroup.class}) // @NotBlank(message = "核算检测情况不能为空", groups = {IcResiCollectFormDTO.InternalShowGroup.class, IcResiCollectFormDTO.ExternalShowGroup.class})
private String heSuanCount; private String heSuanCount;
/** /**
* 居住成员1新冠疫苗接种情况;1:已全程接种2未全程接种0未接种 * 居住成员1新冠疫苗接种情况;1:已全程接种2未全程接种0未接种
*/ */
@NotNull(message = "疫苗接种情况不能为空", groups = {IcResiCollectFormDTO.InternalShowGroup.class, IcResiCollectFormDTO.ExternalShowGroup.class}) // @NotNull(message = "疫苗接种情况不能为空", groups = {IcResiCollectFormDTO.InternalShowGroup.class, IcResiCollectFormDTO.ExternalShowGroup.class})
private Integer ymjz; private Integer ymjz;
} }

Loading…
Cancel
Save