Browse Source

Merge remote-tracking branch 'origin/dev_issue_audit' into dev_temp

dev_shibei_match
yinzuomei 5 years ago
parent
commit
eda995bb98
  1. 3
      epmet-module/resi-hall/resi-hall-client/src/main/java/com/epmet/dto/form/PublishSuggestionFormDTO.java

3
epmet-module/resi-hall/resi-hall-client/src/main/java/com/epmet/dto/form/PublishSuggestionFormDTO.java

@ -5,6 +5,7 @@ import lombok.Data;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
/**
@ -26,7 +27,7 @@ public class PublishSuggestionFormDTO implements Serializable {
@NotBlank(message = "议题id不能为空", groups = {AddUserInternalGroup.class})
private String issueId;
@NotBlank(message = "是否匿名不能为空", groups = {AddUserInternalGroup.class})
@NotNull(message = "是否匿名不能为空", groups = {AddUserInternalGroup.class})
private Boolean publicFlag;
@Length(max = 500, message = "内容不能超过500字", groups = {AddUserShowGroup.class})

Loading…
Cancel
Save