package com.ylx.merchant.domain.dto;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ylx.merchant.domain.vo.MerchantCommentVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

@Data
@ApiModel("商户顾客评价分页查询DTO")
public class MerchantCommentDTO extends Page<MerchantCommentVO> implements Serializable {
    private static final long serialVersionUID = 1797233685254362838L;

    @NotNull(message = "商户ID不能为空")
    @ApiModelProperty("商户ID")
    private Long id;
}
