package com.chushang.inspection.terminal.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chushang.common.mybatis.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 商户导入临时表
 * @auther: zhao
 * @date: 2024/7/3 9:48
 */
@Data
@EqualsAndHashCode(callSuper=true)
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "st_store_import")
public class StoreImport extends BaseEntity {


    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 任务id
     */
    @TableField(value = "task_id")
    private Long taskId;

    /**
     * 下级任务id
     */
    @TableField(value = "lower_task_id")
    private Long lowerTaskId;

    /**
     * 商户编号
     */
    @TableField(value = "store_no")
    private String storeNo;

    /**
     * 商户名称
     */
    @TableField(value = "store_name")
    private String storeName;

    /**
     * 商户联系人
     */
    @TableField(value = "store_contact")
    private String storeContact;

    /**
     * 商户联系电话
     */
    @TableField(value = "store_phone")
    private String storePhone;

    /**
     * 商户地址
     */
    @TableField(value = "store_address")
    private String storeAddress;

    /**
     * 商户特殊编号
     */
    @TableField(value = "special_num")
    private String specialNum;

    /**
     * 门店名称
     */
    @TableField(value = "shop_name")
    private String shopName;

    /**
     * 建档日期
     */
    @TableField(value = "register_time")
    private Date registerTime;

    /**
     * 商户类型
     */
    @TableField(value = "store_type")
    private Integer storeType;

    /**
     * 现有其他收单产品
     */
    @TableField(value = "products")
    private String products;

    /**
     * 商户提示工具
     */
    @TableField(value = "tip_tool")
    private String tipTool;

    /**
     * 巡检频次
     */
    @TableField(value = "ins_fre")
    private Integer insFre;

    /**
     * 客户经理
     */
    @TableField(value = "account_manager")
    private String accountManager;

    /**
     * 经理电话
     */
    @TableField(value = "account_phone")
    private String accountPhone;

    /**
     * 注册地址
     */
    @TableField(value = "register_address")
    private String registerAddress;

    /**
     * 租户id
     */
    @TableField(value = "dept_id")
    private Long deptId;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 法人/负责人
     */
    @TableField(value = "legal_name")
    private String legalName;



    /**
     * 终端sn号
     */
    @TableField(value = "terminal_sn")
    private String terminalSn;

    /**
     * 终端编号
     */
    @TableField(value = "terminal_no")
    private String terminalNo;

    /**
     * 终端类型
     */
    @TableField(value = "terminal_type")
    private Integer terminalType;

    /**
     * 终端型号
     */
    @TableField(value = "terminal_model")
    private String terminalModel;

    /**
     * 版本号
     */
    @TableField(value = "terminal_version")
    private String terminalVersion;

    /**
     * 终端地址
     */
    @TableField(value = "terminal_address")
    private String terminalAddress;

    /**
     * 终端来源
     */
    @TableField(value = "terminal_source")
    private Integer terminalSource;


    /**
     * 异常描述
     */
    @TableField(value = "exception_description")
    private Integer exceptionDescription;




}
