/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package cn.ysk.cashier.dto.shop;

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

import javax.persistence.Column;
import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;
import java.io.Serializable;

/**
* @website https://eladmin.vip
* @description /
* @author lyf
* @date 2023-11-07
**/
@Data
@JsonInclude(JsonInclude.Include.ALWAYS)
public class TbShopInfoDto implements Serializable {

    /** 自增id */
    private Integer id;

    /** 店铺帐号 */
    @NotBlank(message = "店铺账号不能为空")
    private String account;

    /** 店铺代号，策略方式为city +店铺号（8位） */
    private String shopCode;

    /** 店铺口号 */
    private String subTitle;

    /** 商户Id */
    private String merchantId;

    /** 店铺名称 */
    @NotBlank(message = "店铺账号不能为空")
    private String shopName;

    /** 连锁店扩展店名 */
    private String chainName;

    /** 背景图 */
    private String backImg;

    /** 门头照 */
    private String frontImg;

    /** 联系人姓名 */
    private String contactName;

    /** 联系电话 */
    private String phone;

    /** 店铺log */
    @NotBlank(message = "店铺logo不能为空")
    private String logo;

    /** 是否参与代收 0--不参与  1参与  */
    private Integer isDeposit;

    /** 是否为供应商 */
    private Integer isSupply;

    /** 封面图 */
    private String coverImg;

    /** 店铺分享图 */
    private String shareImg;

    /** 轮播图 */
    private String view;

    /** 店铺简介 */
    private String detail;

    /** 经纬度 */
    private String lat;

    /** 经纬度 */
    private String lng;

    /** 未用 */
    private String mchId;

    private String registerType;

    /** 是否独立的微信小程序 */
    private Integer isWxMaIndependent;

    /** 详细地址 */
    private String address;

    /** 类似于这种规则51.51.570 */
    private String city;

    /** 店铺类型 超市--MARKET---其它店SHOP */
    private String type;

    /** 行业 */
    private String industry;

    /** 行业名称 */
    private String industryName;

    /** 营业时间 */
    private String businessStartDay;//周
    private String businessEndDay;//周
    private String businessTime;//09:00-20:00

    /** 配送时间 */
    private String postTime;

    private BigDecimal postAmountLine;

    /** 0停业1，正常营业,网上售卖 */
    private Integer onSale;

    /** 0今日，1次日 */
    private Integer settleType;

    /** 时间 */
    private String settleTime;

    /** 入驻时间 */
    private Integer enterAt;

    /** 到期时间 */
    private Long expireAt;

    /** 门店状态 */
    private Integer status;

    /** 人均消费 */
    private Float average;

    /** 订单等待时间 */
    private Integer orderWaitPayMinute;

    /** 支持登陆设备个数 */
    private Integer supportDeviceNumber;

    /** 分销层级（1-下级分销 2-两下级分销） */
    private Integer distributeLevel;

    private Long createdAt;

    private Long updatedAt;

    private String proxyId;
    /**
     * 激活码
     */
    private String registerCode;
    @NotBlank(message = "密码不能为空")
    private String password;

    private String profiles;

    private String isOpenYhq;
    private Integer isUseVip;
    /**
     * 商家二维码
     */
    private String shopQrcode;

    private String provinces;

    private String districts;

    private String cities;

    private String isCustom;

    private String isReturn;
    private String isMemberIn;
    private String isMemberReturn;
}