package com.ylx.merchant.domain.dto;

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

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

@Data
@ApiModel("客户端商户详情DTO")
public class MerchantDetailDTO implements Serializable {
    private static final long serialVersionUID = 7992434594441199113L;

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

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

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

}
