package com.ylx.discover.moment.domain.dto;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("发现页商户动态DTO")
public class MomentPageDTO extends Page<MomentPageDTO> {

    @ApiModelProperty("城市编码")
    @NotNull(message = "城市编码不能为空")
    private String cityCode;

}
