package com.tashow.cloud.productapi.api.product.vo.shopdetail;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Schema(description = "管理后台 - 店铺信息新增/修改 Request VO")
@Data
public class ShopDetailSaveReqVO {

    @Schema(description = "店铺id", requiredMode = Schema.RequiredMode.REQUIRED, example = "5101")
    private Long shopId;

    @Schema(description = "店铺名称(数字、中文，英文(可混合，不可有特殊字符)，可修改)、不唯一", example = "芋艿")
    private String shopName;

    @Schema(description = "店长用户id", example = "15607")
    private String userId;

    @Schema(description = "店铺类型", example = "2")
    private Integer shopType;

    @Schema(description = "店铺简介(可修改)")
    private String intro;

    @Schema(description = "店铺公告(可修改)")
    private String shopNotice;

    @Schema(description = "店铺行业(餐饮、生鲜果蔬、鲜花等)")
    private Integer shopIndustry;

    @Schema(description = "店长")
    private String shopOwner;

    @Schema(description = "店铺绑定的手机(登录账号：唯一)")
    private String mobile;

    @Schema(description = "店铺联系电话")
    private String tel;

    @Schema(description = "店铺所在纬度(可修改)")
    private String shopLat;

    @Schema(description = "店铺所在经度(可修改)")
    private String shopLng;

    @Schema(description = "店铺详细地址")
    private String shopAddress;

    @Schema(description = "店铺所在省份（描述）")
    private String province;

    @Schema(description = "店铺所在城市（描述）")
    private String city;

    @Schema(description = "店铺所在区域（描述）")
    private String area;

    @Schema(description = "店铺省市区代码，用于回显")
    private String pcaCode;

    @Schema(description = "店铺logo(可修改)")
    private String shopLogo;

    @Schema(description = "店铺相册")
    private String shopPhotos;

    @Schema(description = "每天营业时间段(可修改)")
    private String openTime;

    @Schema(description = "店铺状态(-1:未开通 0: 停业中 1:营业中)，可修改", example = "2")
    private Integer shopStatus;

    @Schema(description = "0:商家承担运费; 1:买家承担运费", example = "2")
    private Integer transportType;

    @Schema(description = "固定运费")
    private BigDecimal fixedFreight;

    @Schema(description = "满X包邮")
    private BigDecimal fullFreeShipping;

    @Schema(description = "分销开关(0:开启 1:关闭)")
    private Integer isDistribution;

}