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="GetReplyListRequest对象", description="GetReplyListRequest对象")
public class GetReplyListRequest implements Serializable {

    private static final long serialVersionUID = 3481659942630712958L;

    @ApiModelProperty(value = "产品id", required = true)
    @NotNull(message = "产品id不能为空")
    private Integer productId;

    @ApiModelProperty(value = "评价等级|0=全部,1=好评,2=中评,3=差评")
    private Integer type;

    @ApiModelProperty(value = "评论标签名称")
    private String tag;

    @ApiModelProperty(value = "查最新，传1")
    private String latest;

    @ApiModelProperty(value = "有图片，传1")
    private String havePics;

}
