package com.cool.store.dto.ehr;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * 加盟商信息查询
 */
@NoArgsConstructor
@Data
public class FranchiseeInfoDTO {
    @ApiModelProperty("自增主键")
    private int keyId;
    @ApiModelProperty("加盟商编号")
    private String frId;
    @ApiModelProperty("加盟商姓名")
    private String frName;
    @ApiModelProperty("加盟商手机号码")
    private String frMobile;
    @ApiModelProperty("身份证号")
    private String idCard;
    @ApiModelProperty("身份证地址")
    private String idCardAddress;
    @ApiModelProperty("性别：0-女，1-男")
    private int sex;
    @ApiModelProperty("状态：0-蓄水池，1-查看，2-正式，3-解约")
    private int stat;
    @ApiModelProperty("缴款时间")
    private String payDateStr;
    @ApiModelProperty("生效日期")
    private String eftDate;
    @ApiModelProperty("结束日期")
    private String endDateStr;
    @ApiModelProperty("收款账户")
    private String retAccount;
    @ApiModelProperty("开户行")
    private String bank;
    @ApiModelProperty("开户行名称")
    private String bankName;
    @ApiModelProperty("开户行支行")
    private String bankSub;
    @ApiModelProperty("开户行支行名称")
    private String bankSubName;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("省份代码")
    private String provinceCode;
    @ApiModelProperty("省份名称")
    private String provinceName;
    @ApiModelProperty("城市代码")
    private String cityCode;
    @ApiModelProperty("城市名称")
    private String cityName;
    @ApiModelProperty("生日")
    private Date birthday;
    @ApiModelProperty("微信号")
    private String wechat;
    @ApiModelProperty("投资方式")
    private String investType;
    @ApiModelProperty("其它业务/生意")
    private String otherBusinesses;
    @ApiModelProperty("合伙人")
    private List<FranchiseePartnerDTO> partners;
    @ApiModelProperty("资金来源")
    private String capitalSource;
    @ApiModelProperty("投资金额，单位：万")
    private String capitalAmount;
    @ApiModelProperty("水果行业从业经验")
    private String experience;
    @ApiModelProperty("是否有亲属在鲜丰工作")
    private int workAtXf;
    @ApiModelProperty("亲属工号（有亲属在鲜丰工作）")
    private String jobNo;
    @ApiModelProperty("行业类型")
    private String industryType;
    @ApiModelProperty("文化程度")
    private String education;
    @ApiModelProperty("紧急联系人姓名")
    private String contactName;
    @ApiModelProperty("紧急联系人电话")
    private String contactPhone;
    @ApiModelProperty("面试信息id")
    private String interviewId;
    @ApiModelProperty("面试视频地址")
    private String videoUrl;
    @ApiModelProperty("面试得分表地址")
    private String tableUrl;
    @ApiModelProperty("身份证原件正面地址")
    private String idCardFrontUrl;
    @ApiModelProperty("身份证原件背面地址")
    private String idCardBackUrl;
    @ApiModelProperty("面试状态")
    private String state;
    @ApiModelProperty("开户银行编码")
    private String bankCode;
    @ApiModelProperty("支行编码")
    private String bankSubCode;
    @ApiModelProperty("加盟费")
    private int franchiseFee;
    @ApiModelProperty("保证金")
    private int deposit;
    @ApiModelProperty("合同开始时间")
    private Date contractStartDate;
    @ApiModelProperty("合同结束时间")
    private Date contractEndDate;
    @ApiModelProperty("合同附件")
    private String attachmentUrl;
    @ApiModelProperty("签约类型：0-个人签约；1-企业签约")
    private int signType;
    @ApiModelProperty("法人")
    private String legalPerson;
    @ApiModelProperty("营业期限")
    private String businessTerm;
    @ApiModelProperty("OA流程编号")
    private String processNum;
    @ApiModelProperty("")
    private int bind;
    @ApiModelProperty("")
    private int sign;
    @ApiModelProperty("")
    private int business;
    @ApiModelProperty("门店信息")
    private List<FranchiseeStoreInfoDTO> storeInfoVOS;

    @Data
    public static class FranchiseePartnerDTO{
        @ApiModelProperty("合伙人姓名")
        private String name;
        @ApiModelProperty("合伙人电话")
        private String phone;
    }

    @Data
    public static class FranchiseeStoreInfoDTO{
        @ApiModelProperty("门店代码")
        private String storeCode;
        @ApiModelProperty("门店名称")
        private String storeName;
        @ApiModelProperty("开店/关店")
        private String status;
        @ApiModelProperty("正常营业/关店")
        private String businessStatus;
        @ApiModelProperty("解约")
        private String signingStatus;
        @ApiModelProperty("解约原因")
        private String unbindCause;
        @ApiModelProperty("浙北大区/萧山战区/萧山一区域")
        private String area;
        @ApiModelProperty("加盟商姓名")
        private String franchiseeName;
        @ApiModelProperty("加盟商编码")
        private String frId;
    }

}
