package com.yuchen.saas.parking.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.thinkunion.park.service.common.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @ClassName ParkingPlace
 * @Description 停车位信息表
 * @Author 张逸飞
 * @Date 2023年1月31日
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "停车位信息表", description = "停车位信息表")
@TableName("parking_place")
public class ParkingPlace extends BasicEntity {
    /**
     * 所属客户
     */
    @ApiModelProperty(name = "customerManageId", value = "所属客户")
    private Long customerManageId;

    /**
     * 停车场ID
     */
    @ApiModelProperty(name = "parkingId", value = "停车场ID")
    private Long parkingId;

    /**
     * 车位编码
     */
    @ApiModelProperty(name = "placeCode", value = "车位编码")
    private String placeCode;

    /**
     * 车位号
     */
    @ApiModelProperty(name = "placeNo", value = "车位号")
    private String placeNo;

    /**
     * 车位类型
     */
    @ApiModelProperty(name = "placeType", value = "车位类型")
    private Long placeType;

    /**
     * 车位位置
     */
    @ApiModelProperty(name = "placePosition", value = "车位位置")
    private String placePosition;

    /**
     * 经度
     */
    @ApiModelProperty(name = "longitude", value = "经度(精确到6位小数点)")
    private Double longitude;
    /**
     * 纬度
     */
    @ApiModelProperty(name = "latitude", value = "纬度(精确到6位小数点)")
    private Double latitude;

    /**
     * 分配状态（0：未分配、1：已分配）
     */
    @ApiModelProperty(name = "allocatedState", value = "分配状态")
    private Integer allocatedState;

    /**
     * 标记状态（0：未标记、1：已标记）
     */
    @ApiModelProperty(name = "markerState", value = "标记状态")
    private Integer markerState;

    /**
     * 车位锁
     */
    @ApiModelProperty(name = "placeLock", value = "车位锁")
    private String placeLock;

    /**
     * 车位摄像头
     */
    @ApiModelProperty(name = "placeCamera", value = "车位摄像头")
    private String placeCamera;

    /**
     * 启用状态（0：未启用、1：已启用）
     */
    @ApiModelProperty(name = "enableState", value = "启用状态")
    private Integer enableState;

    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;

    /**
     * 车位使用类型
     */
    @ApiModelProperty(name = "placeUsedType", value = "车位使用类型(0月卡车位 1错时车位 2AB车位 3动态车位 4产权车)")
    private String placeUsedType;

    /**
     * 长度
     */
    @ApiModelProperty(name = "length", value = "长度")
    private Integer length;
    /**
     * 宽度
     */
    @ApiModelProperty(name = "width", value = "宽度")
    private Integer width;
    /**
     * 业主类型(1:个人，2:企业)
     */
    @ApiModelProperty(name = "ownerType", value = "业主类型(1:个人，2:企业)")
    private String ownerType;
    /**
     * 业主名称
     */
    @ApiModelProperty(name = "ownerName", value = "业主名称")
    private String ownerName;
    /**
     * 业主id
     */
    @ApiModelProperty(name = "ownerId", value = "业主id")
    private Long ownerId;
    /**
     * 用户id
     */
    @ApiModelProperty(name = "userId", value = "用户id")
    private Long userId;
    /**
     * 联系人
     */
    @ApiModelProperty(name = "contactName", value = "联系人")
    private String contactName;
    /**
     * 联系人电话
     */
    @ApiModelProperty(name = "contactPhone", value = "联系人电话")
    private String contactPhone;
    /**
     * 不动产编号
     */
    @ApiModelProperty(name = "realEstateCode", value = "不动产编号")
    private String realEstateCode;
    /**
     * 车位图片(多张，逗号隔开)
     */
    @ApiModelProperty(name = "placePhotos", value = "车位图片(多张，逗号隔开)")
    private String placePhotos;
    /**
     * 地区编码
     */
    @ApiModelProperty(name = "areaCode", value = "地区编码")
    private String areaCode;
    /**
     * 地区
     */
    @ApiModelProperty(name = "area", value = "地区")
    private String area;
}
