package com.cool.store.request;

import lombok.Data;
import org.apache.commons.lang3.StringUtils;

import java.util.Objects;

/**
 * @Author: WangShuo
 * @Date: 2025/07/23/18:36
 * @Version 1.0
 * @注释:
 */
@Data
public class HqtBuildRequest {
    private Long shopId;
    //门店编码
    private String shopCode;
    //门店名称
    private String shopName;
    //  门店装修属性
    private Integer shopDecorationAttributes;
    //红圈通区域编码
    private String hqtRegionCode;
    //红 圈通区域名称
    private String hqtRegionName;
    //督导名称
    private String supervisorName;
    //督导手机号
    private String supervisorMobile;
    //签约人1
    private String partnershipSignatoryFirst;
    //签约人1手机号
    private String partnershipSignatoryFirstMobile;
    //门店地址
    private String shopAddress;
    //是否已收设计费 0-否 1- 是
    private Integer isPayDesignFee;
    //加盟品牌
    private Integer franchiseBrand;
    // 装修等级
    private String decorationLevel;
    // 装修设计要求
    private String decorationRequirement;
    // 特殊情况说明
    private String specialInstruction;
    // 门店类型
    private Integer storeType;

    //招商所属区域
    private String investRegionName;

    //运营顾问
    private String operationsConsultant;

    //负责人邮箱
    private String email;

    //招商大区负责人邮箱
    private String investRegionEmail;

    public  Boolean check(){
        if (StringUtils.isAnyBlank(shopName,hqtRegionCode,hqtRegionName,supervisorName,
                partnershipSignatoryFirst,partnershipSignatoryFirstMobile,shopAddress)){
            return  false;
        }
        if (Objects.isNull(isPayDesignFee)|| Objects.isNull(franchiseBrand)|| Objects.isNull(shopDecorationAttributes) || Objects.isNull(shopId)){
            return  false;
        }
        return  true;
    }

}
