package com.ylx.merchant.domain.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ApiModel("同城搭子vo")
public class MerchantListVO implements Serializable {
    private static final long serialVersionUID = 6026187868884160213L;

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("商户名称")
    private String name;

    @ApiModelProperty("头像")
    private String avatar;

    @JsonIgnore
    @ApiModelProperty("项目ID")
    private Long projectId;

    @ApiModelProperty("价格")
    private BigDecimal price;

    @JsonIgnore
    @ApiModelProperty("距离")
    private Double currentDistance;

    @ApiModelProperty("距离")
    private String distance;

    @ApiModelProperty("评分")
    private Double score;

    @ApiModelProperty("已服务单量")
    private Integer serviceCount;

}
