package com.chushang.inspection.work.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.time.LocalDateTime;

/**
  * @auther: zhao
  * @date: 2024/6/26 17:13
  */
/**
 * 工单商户信息
 */
@Data
@EqualsAndHashCode(callSuper=true)
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "wrk_info_store_record")
public class WrkInfoStoreRecord extends BaseEntity {
    /**
     * 工单id
     */
    @TableId(value = "wrk_id", type = IdType.INPUT)
    private Long wrkId;

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

    /**
     * 商户id
     */
    @TableField(value = "store_id")
    private Long storeId;

    /**
     * 商户名称
     */
    @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 LocalDateTime registerTime;

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

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

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

    /**
     * 操作员编号
     */
    @TableField(value = "admin_id")
    private String adminId;

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


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

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

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

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

    /**
     * 是否为业务员录入（1是  2否）
     */
    @TableField(value = "is_enter")
    private Integer isEnter;
    /**
     * 商户状态
     */
    @TableField(value = "state")
    private Integer state;
}
