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

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

@Data
@ApiModel("按摩推荐dto")
public class MerchantRecommendDto {

    @ApiModelProperty("用户经度")
    private BigDecimal longitude;

    @ApiModelProperty("用户纬度")
    private BigDecimal latitude;

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

    @NotNull(message = "服务标签不能为空")
    @ApiModelProperty("服务标签: 1=按摩 2=同城陪玩")
    private Integer projectType;
}