package com.cool.store.entity;

import lombok.Data;

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

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

    /**
     * 铺位编号
     */
    @Column(name = "point_code")
    private String pointCode;

    /**
     * 铺位名称
     */
    @Column(name = "point_name")
    private String pointName;

    /**
     * 部门id
     */
    @Column(name = "region_id")
    private Long regionId;

    /**
     * shop_info.id
     */
    @Column(name = "shop_id")
    private Long shopId;

    /**
     * 线索id
     */
    @Column(name = "line_id")
    private Long lineId;

    /**
     * 点位面积
     */
    @Column(name = "point_area")
    private String pointArea;

    /**
     * 经度
     */
    private String longitude;

    /**
     * 纬度
     */
    private String latitude;

    /**
     * 地址
     */
    private String address;

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

    /**
     * 营运专员
     */
    @Column(name = "operate_user_id")
    private String operateUserId;

    /**
     * 拓展时间
     */
    @Column(name = "development_time")
    private Date developmentTime;

    /**
     * 铺位状态 1.采集中 2.已评估 3.待审批 4.待审核可推荐 5.已审批 6.已绑定
     */
    @Column(name = "point_status")
    private Integer pointStatus;

    /**
     * 铺位得分
     */
    @Column(name = "point_score")
    private Integer pointScore;

    /**
     * 选择状态0.未选择, 1.已被选择
     */
    @Column(name = "select_status")
    private Integer selectStatus;

    /**
     * 审批次数
     */
    @Column(name = "submit_audit_count")
    private Integer submitAuditCount;

    /**
     * 店铺来源
     */
    @Column(name = "point_source")
    private Integer pointSource;

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

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

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

    /**
     * 省
     */
    @Column(name = "province")
    private String province;

    /**
     * 市
     */
    @Column(name = "city")
    private String city;

    /**
     * 区/县
     */
    @Column(name = "district")
    private String district;

    /**
     * 街道
     */
    @Column(name = "township")
    private String township;

    @Column(name = "storage_status")
    private Integer storageStatus;
    
}