package com.zbkj.common.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="CommitProblemRequest对象", description="CommitProblemRequest对象")
public class CommitProblemRequest implements Serializable {

    @NotNull(message = "回复内容不能为空")
    @ApiModelProperty(value = "回复内容", required = true)
    private String content;

    @ApiModelProperty(value = "业务编号：顶级评论时必传")
    private String businessId;

    @ApiModelProperty(value = "回复对象标识：回复评论时必传")
    private String majorId;

}
