package cc.mrbird.febs.mall.dto.clothes; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import javax.validation.constraints.NotNull; @Data @ApiModel(value = "ApiClothesSocialCommentDto", description = "参数") public class ApiClothesSocialCommentDto { @NotNull(message = "社区不能为空") @ApiModelProperty(value = "社区ID") private Long socialId; @NotNull(message = "评论不能为空") @ApiModelProperty(value = "父级评论ID,没有就传0") private Long commentId; @NotNull(message = "内容不能为空") @ApiModelProperty(value = "内容") private String comment; }