package cc.mrbird.febs.mall.dto; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import javax.validation.constraints.NotNull; @Data @ApiModel(value = "ApiOperateDoDto", description = "接收参数类") public class ApiOperateDoDto { @NotNull(message = "来源ID不能为空") @ApiModelProperty(value = "来源ID") private Long sourceId; @ApiModelProperty(value = "来源选项ID") private Long sourceOptionId; @NotNull(message = "来源类型不能为空") @ApiModelProperty(value = "来源类型 1-活动 2-社区圈子发布") private Integer sourceType; @NotNull(message = "操作类型不能为空") @ApiModelProperty(value = "操作类型 1-关注 2-点赞 3-分享 4-投票") private Integer type; }