package com.ylx.collect.domain.dto;

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

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

@Data
@ApiModel("收藏通用入参DTO")
public class CollectOperateDTO {

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

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

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

}
