package com.cool.store.entity;

import lombok.Data;

import java.util.Date;
import javax.persistence.*;

@Data
@Table(name = "xfsg_line_info")
public class LineInfoDO {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    /**
     * partner_user_info.partner_id
     */
    @Column(name = "partner_id")
    private String partnerId;

    @Column(name = "region_id")
    private Long regionId;

    @Column(name = "big_region_id")
    private Long bigRegionId;

    /**
     * 手机号
     */
    private String mobile;

    /**
     * 申请人姓名
     */
    @Column(name = "username")
    private String username;

    /**
     * 性别0未选,1男,2女
     */
    private String sex;

    /**
     * 意向开店区域
     */
    @Column(name = "want_shop_area_id")
    private Long wantShopAreaId;

    /**
     * 居住地址
     */
    @Column(name = "live_address")
    private String liveAddress;

    /**
     * 流程阶段:1意向加盟;2新店进展;
     */
    @Column(name = "workflow_stage")
    private Integer workflowStage;

    /**
     * 流程子阶段
     */
    @Column(name = "workflow_sub_stage")
    private Integer workflowSubStage;

    /**
     * 流程子阶段状态
     */
    @Column(name = "workflow_sub_stage_status")
    private Integer workflowSubStageStatus;


    @Column(name = "want_shop_num")
    private Integer wantShopNum;
    /**
     * 待选址铺位
     */
    @Column(name = "select_site_num")
    private Integer selectSiteNum;

    /**
     * 筹备中铺位
     */
    @Column(name = "prepare_shop_num")
    private Integer prepareShopNum;

    /**
     * 营业中铺位
     */
    @Column(name = "open_shop_num")
    private Integer openShopNum;

    /**
     * 线索来源
     */
    @Column(name = "line_source")
    private Integer lineSource;

    /**
     * 招商经理
     */
    @Column(name = "investment_manager")
    private String investmentManager;

    /**
     * 拓展经理
     */
    @Column(name = "development_manager")
    private String developmentManager;

    /**
     * 一审面试官
     */
    @Column(name = "first_interviewer")
    private String firstInterviewer;

    /**
     * 二审面试官
     */
    @Column(name = "second_interviewer")
    private String secondInterviewer;

    /**
     * 用户画像
     */
    @Column(name = "user_portrait")
    private String userPortrait;

    /**
     * 是否是加盟商：0.否 1.是
     */
    @Column(name = "join_status")
    private Integer joinStatus;

    /**
     * 0.公海 1.私海  2.黑名单
     */
    @Column(name = "line_status")
    private Integer lineStatus;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @Column(name = "update_time")
    private Date updateTime;

    /**
     * 创建人
     */
    @Column(name = "create_user_id")
    private String createUserId;

    /**
     * 更新人
     */
    @Column(name = "update_user_id")
    private String updateUserId;

    /**
     * 是否删除：0.否 1.是
     */
    private Boolean deleted;
    /**
     * 加盟商编码
     */
    @Column(name = "partner_num")
    private String partnerNum;

    @Column(name = "join_mode")
    private Integer joinMode;

}