package com.ylx.merchant.domain.dto;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ylx.merchant.domain.vo.MomentVO;
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 MerchantMomentDTO extends Page<MomentVO> implements Serializable {
    private static final long serialVersionUID = -1307550361222681902L;

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