Browse Source

限制500

dev
zxc 3 years ago
parent
commit
d351046a38
  1. 7
      epmet-user/epmet-user-client/src/main/java/com/epmet/dto/IcEpidemicSpecialAttentionDTO.java

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

@ -5,6 +5,7 @@ import java.util.Date;
import java.util.List;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.Max;
import javax.validation.constraints.NotBlank;
@ -82,13 +83,13 @@ public class IcEpidemicSpecialAttentionDTO implements Serializable {
/**
* 原因
*/
@Max(value = 500,message = "原因限制500字以内")
@Length(max = 500,message = "原因限制500字以内")
private String reason;
/**
* 备注
*/
@Max(value = 500,message = "备注限制500字以内")
@Length(max = 500,message = "备注限制500字以内")
private String remark;
/**
@ -129,7 +130,7 @@ public class IcEpidemicSpecialAttentionDTO implements Serializable {
/**
* 通知内容
*/
@Max(value = 500,message = "通知内容限制500字以内")
@Length(max = 500,message = "通知内容限制500字以内")
private String content;
}
Loading…
Cancel
Save