package com.mcwl.communityCenter.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 评论删除请求参数
 */
@Data
@ApiModel(value = "评论删除请求参数")
public class CommentDelRes {

    /**
     * 评论id
     */
    @ApiModelProperty(value = "评论id", required = true)
    @NotNull(message = "评论id不能为空")
    private Long id;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id", required = true)
    @NotNull(message = "租户id不能为空")
    private Long tenantId;
    /**
     * 社区id
     */
    @ApiModelProperty(value = "社区id", required = true)
    @NotNull(message = "社区id不能为空")
    private Long communityId;
    /**
     * 发布id
     */
    @ApiModelProperty(value = "发布id", required = true)
    @NotNull(message = "发id不能为空")
    private Long publishId;


}
