| | |
| | | package com.panzhihua.common.model.vos.community; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.google.common.collect.Lists; |
| | | import com.panzhihua.common.validated.AddGroup; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import java.util.Date; |
| | | import javax.validation.constraints.NotNull; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | private Long id; |
| | | |
| | | @ApiModelProperty("办事指南标题") |
| | | @NotNull(groups = {AddGroup.class}, message = "标题不能为空") |
| | | @Length(groups = {AddGroup.class}, max = 35) |
| | | private String title; |
| | | |
| | | @ApiModelProperty("办事指南内容") |
| | | @NotNull(groups = {AddGroup.class}, message = "内容不能为空") |
| | | @Length(groups = {AddGroup.class}, max = 500) |
| | | private String content; |
| | | |
| | | @ApiModelProperty("办理时间") |