/*
 * Copyright (c) 2018-2999 广州亚米信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */

package com.yami.shop.bean.app.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yami.shop.common.serializer.json.ImgJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 店铺的头信息
 * @author LGH
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ShopHeadInfoDto {

    @ApiModelProperty(value = "店铺id", required = true)
    private Long shopId;

    @ApiModelProperty(value = "店铺名称", required = true)
    private String shopName;

    @JsonSerialize(using = ImgJsonSerializer.class)
    @ApiModelProperty(value = "店铺logo", required = true)
    private String shopLogo;

    @ApiModelProperty(value = "粉丝数量", required = true)
    private Integer fansCount;

    @ApiModelProperty(value = "商品数量", required = true)
    private Integer prodCount;

    @ApiModelProperty(value = "店铺简介", required = true)
    private String intro;

    @ApiModelProperty(value = "店铺联系电话", required = true)
    private String tel;

    /**
     * 店铺状态(-1:未开通 0: 停业中 1:营业中 2:平台下线 3:平台下线待审核)，可修改
     */
    @ApiModelProperty(value = "店铺状态(-1:未开通 0: 停业中 1:营业中 2:平台下线 3:平台下线待审核)，可修改")
    private Integer shopStatus;

    @ApiModelProperty(value = "第三方id", required = true)
    private String thirdPartyCode;

    @ApiModelProperty(value = "店铺经度")
    private String lat;
    @ApiModelProperty(value = "店铺纬度")
    private String lon;

    /**
     * 门店是否存在商品
     */
    @ApiModelProperty(value = "门店是否存在商品")
    private Boolean hasProduct;

}
