package com.cool.store.entity;

import lombok.Data;

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

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

    /**
     * 区域ID
     */
    @Column(name = "region_id")
    private Long regionId;

    /**
     * line_info.id
     */
    @Column(name = "line_id")
    private Long lineId;

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

    /**
     * 点位id
     */
    @Column(name = "point_id")
    private Long pointId;

    /**
     * 店铺名称
     */
    @Column(name = "shop_name")
    private String shopName;

    /**
     * 店铺code
     */
    @Column(name = "shop_code")
    private String shopCode;

    /**
     * 门店系统门店编码
     */
    @Column(name = "store_num")
    private String storeNum;

    /**
     * 开店负责人
     */
    @Column(name = "shop_manager_user_id")
    private String shopManagerUserId;

    /**
     * 督导
     */
    @Column(name = "supervisor_user_id")
    private String supervisorUserId;

    /**
     * 计划开业时间
     */
    @Column(name = "plan_open_time")
    private Date planOpenTime;

    /**
     * 当前进度
     */
    @Column(name = "cur_progress")
    private BigDecimal curProgress;

    /**
     * 门店性质
     */
    @Column(name = "shop_type")
    private Integer shopType;

    /**
     * 阶段 0选址 1筹建 2开业
     */
    @Column(name = "shop_stage")
    private Integer shopStage;

    @Column(name = "detail_address")
    private String detailAddress;

    /**
     * 删除标识
     */
    private Boolean deleted;

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

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

}