package org.dromara.payment.merchant.domain.bo;

import org.dromara.payment.merchant.domain.PubMerchant;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 商户申请表业务对象 pub_merchant
 *
 * @author LionLi
 * @date 2024-04-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = PubMerchant.class, reverseConvertGenerate = false)
public class PubMerchantBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 注册单号(示例：reg2024031916213007124782 )
     */
    @NotBlank(message = "注册单号(示例：reg2024031916213007124782 )不能为空", groups = { AddGroup.class, EditGroup.class })
    private String no;

    /**
     * 所属行业（字典值）
     */
    @NotBlank(message = "所属行业（字典值）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String industry;

    /**
     * 商户名称
     */
    @NotBlank(message = "商户名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 商户简称
     */
    @NotBlank(message = "商户简称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String nameNc;

    /**
     * 统一社会信用代码
     */
    @NotBlank(message = "统一社会信用代码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String nsrSbh;

    /**
     * 法人手机号
     */
    @NotBlank(message = "法人手机号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String frSjh;

    /**
     * 经办人手机号
     */
    @NotBlank(message = "经办人手机号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String wtrSjh;

    /**
     * 经办人姓名
     */
    @NotBlank(message = "经办人姓名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String wtr;

    /**
     * 经办人证件类型
     */
    @NotBlank(message = "经办人证件类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String wtrZjlx;

    /**
     * 经办人证件号码
     */
    @NotBlank(message = "经办人证件号码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String wtrSfz;

    /**
     * 经办人邮件
     */
    @NotBlank(message = "经办人邮件不能为空", groups = { AddGroup.class, EditGroup.class })
    private String wtrEmail;

    /**
     * 所属行政区编码
     */
    @NotBlank(message = "所属行政区编码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String unitArea;

    /**
     * 行政区名称
     */
    @NotBlank(message = "行政区名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String unitAreaName;

    /**
     * 法人证件号码
     */
    @NotBlank(message = "法人证件号码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String frSfz;

    /**
     * 法人证件类型
     */
    @NotBlank(message = "法人证件类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String frZjlx;

    /**
     * 法人姓名
     */
    @NotBlank(message = "法人姓名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fr;

    /**
     * 银行账号
     */
    @NotBlank(message = "银行账号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String bankCard;

    /**
     * 实际经营地址
     */
    @NotBlank(message = "实际经营地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String address;

    /**
     * 营业执照有效期开始日期
     */
    @NotNull(message = "营业执照有效期开始日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date yyzzBeginDate;

    /**
     * 营业执照有效期结束日期
     */
    @NotNull(message = "营业执照有效期结束日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date yyzzEndDate;

    /**
     * 营业执照图片（多个逗号分隔）
     */
    @NotBlank(message = "营业执照图片（多个逗号分隔）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yyzz;

    /**
     * 状态（0:禁用 1:启用 ）
     */
    @NotNull(message = "状态（0:禁用 1:启用 ）不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long status;

    /**
     * 添加时间
     */
    @NotNull(message = "添加时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date addTime;

    /**
     * 添加人
     */
    @NotBlank(message = "添加人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String addBy;

    /**
     * 编辑人
     */
    @NotBlank(message = "编辑人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String editer;

    /**
     * 编辑时间
     */
    @NotNull(message = "编辑时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date editTime;

    /**
     * 开户名
     */
    @NotBlank(message = "开户名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String khm;

    /**
     * 开户支行
     */
    @NotBlank(message = "开户支行不能为空", groups = { AddGroup.class, EditGroup.class })
    private String khd;

    /**
     * 开户行
     */
    @NotBlank(message = "开户行不能为空", groups = { AddGroup.class, EditGroup.class })
    private String khh;

    /**
     * 开户行行号/银联号
     */
    @NotBlank(message = "开户行行号/银联号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String khhNo;

    /**
     * 基本存款账户编号
     */
    @NotBlank(message = "基本存款账户编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jbckzhbm;

    /**
     * 结算通道
     */
    @NotBlank(message = "结算通道不能为空", groups = { AddGroup.class, EditGroup.class })
    private String passage;

    /**
     * 法人证件有效期开始日期
     */
    @NotNull(message = "法人证件有效期开始日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date frCardidBeginDate;

    /**
     * 法人证件有效期结束日期
     */
    @NotNull(message = "法人证件有效期结束日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date frCardidEndDate;

    /**
     * 经办人证件有效期开始日期
     */
    @NotNull(message = "经办人证件有效期开始日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date jbrCardidBeginDate;

    /**
     * 经办人证件有效期结束日期
     */
    @NotNull(message = "经办人证件有效期结束日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date jbrCardidEndDate;

    /**
     * 业务员id
     */
    @NotNull(message = "业务员id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long ywyId;

    /**
     * 发票抬头
     */
    @NotBlank(message = "发票抬头不能为空", groups = { AddGroup.class, EditGroup.class })
    private String invoceHeader;

    /**
     * 发票纳税人识别号
     */
    @NotBlank(message = "发票纳税人识别号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String invoceCreditCode;

    /**
     * 发票开户银行名称
     */
    @NotBlank(message = "发票开户银行名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String invoceBankName;

    /**
     * 发票开户银行账号
     */
    @NotBlank(message = "发票开户银行账号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String invoceBankCard;

    /**
     * 发票单位注册地址
     */
    @NotBlank(message = "发票单位注册地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String invoceAddress;

    /**
     * 发票单位电话
     */
    @NotBlank(message = "发票单位电话不能为空", groups = { AddGroup.class, EditGroup.class })
    private String invoceDwdh;

    /**
     * 开户许可证
     */
    @NotBlank(message = "开户许可证不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fhxkzPic;

    /**
     * 法人证件正面
     */
    @NotBlank(message = "法人证件正面不能为空", groups = { AddGroup.class, EditGroup.class })
    private String frSfzzm;

    /**
     * 法人证件反面
     */
    @NotBlank(message = "法人证件反面不能为空", groups = { AddGroup.class, EditGroup.class })
    private String frSfzfm;

    /**
     * 经办人证件正面
     */
    @NotBlank(message = "经办人证件正面不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jbrSfzzm;

    /**
     * 经办人证件反面
     */
    @NotBlank(message = "经办人证件反面不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jbrSfzfm;

    /**
     * 门牌照片
     */
    @NotBlank(message = "门牌照片不能为空", groups = { AddGroup.class, EditGroup.class })
    private String mtqjzPic;

    /**
     * 前台照片
     */
    @NotBlank(message = "前台照片不能为空", groups = { AddGroup.class, EditGroup.class })
    private String bgzp1Pic;

    /**
     * 办公照片
     */
    @NotBlank(message = "办公照片不能为空", groups = { AddGroup.class, EditGroup.class })
    private String bgzp2Pic;

    /**
     * 业务场景真实性承诺函
     */
    @NotBlank(message = "业务场景真实性承诺函不能为空", groups = { AddGroup.class, EditGroup.class })
    private String ywcjzsxcnh;

    /**
     * 业务场景说明
     */
    @NotBlank(message = "业务场景说明不能为空", groups = { AddGroup.class, EditGroup.class })
    private String ywcjsm;

    /**
     * 法大大授权协议
     */
    @NotBlank(message = "法大大授权协议不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fddsqxy;

    /**
     * 特殊行业许可证
     */
    @NotBlank(message = "特殊行业许可证不能为空", groups = { AddGroup.class, EditGroup.class })
    private String tshyxkz;

    /**
     * 流程确认函
     */
    @NotBlank(message = "流程确认函不能为空", groups = { AddGroup.class, EditGroup.class })
    private String lcqrh;

    /**
     * 审核状态（0:待审核、1:驳回、2:审核通过）
     */
    @NotNull(message = "审核状态（0:待审核、1:驳回、2:审核通过）不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long verifyStatus;

    /**
     * 审核时间
     */
    @NotNull(message = "审核时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date verifyTime;

    /**
     * 审核人
     */
    @NotBlank(message = "审核人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String verifyBy;

    /**
     * 驳回原因
     */
    @NotBlank(message = "驳回原因不能为空", groups = { AddGroup.class, EditGroup.class })
    private String verifyReason;

    /**
     * 主营业务
     */
    @NotBlank(message = "主营业务不能为空", groups = { AddGroup.class, EditGroup.class })
    private String zyyw;


}
