package com.ylx.home.hot.domain.dto;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ylx.home.hot.domain.vo.HotRecommendVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("首页热门推荐DTO")
public class HotRecommendDTO extends Page<HotRecommendVO> {

    @ApiModelProperty("用户经度")
    @NotNull(message = "用户经度不能为空")
    private BigDecimal longitude;

    @ApiModelProperty("用户纬度")
    @NotNull(message = "用户纬度不能为空")
    private BigDecimal latitude;
}
