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

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.tenant.mp.TenantEntity;

/**
 * @ClassName PmgBatParkParkingRoadway
 * @Description 停车场车道表
 * @Author 张逸飞
 * @Date 2022年11月9日 17:39:13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "停车场车道表", description = "停车场车道表")
@TableName("pmg_bat_park_parking_roadway")
@Accessors(chain = true)
public class PmgBatParkParkingRoadway extends TenantEntity {
    private static final long serialVersionUID = 1L;
    /**
     * 园区id
     */
    @ApiModelProperty(name = "parkId",value = "园区id")
    private String parkId;
    /**
     * 出入口id
     */
    @ApiModelProperty(name = "entranceId", value = "出入口id")
    private Long entranceId;
    /**
     * 车道名称
     */
    @ApiModelProperty(name = "rowName", value = "车道名称")
    private String rowName;
    /**
     * 车道类型：0 进，1出
     */
    @ApiModelProperty(name = "type", value = "车道类型：0 进，1出")
    private Integer type;
    /**
     * 做菜单加载层级区分 车道固定4
     */
    @ApiModelProperty(name = "menuType", value = "做菜单加载层级区分 车道固定4")
    private Integer menuType;

    /**
     * 是否下发 led 指令 （true 下发、false 不下发）
     */
    @ApiModelProperty(name = "ledEnable", value = "是否下发 led 指令 （true 下发、false 不下发）")
    private Boolean ledEnable;

    /**
     * 是否下发 语音指令 （true 下发、false 不下发）
     */
    @ApiModelProperty(name = "ledEnable", value = "是否下发 语音指令 （true 下发、false 不下发）")
    private Boolean voiceEnable;


    /**
     * 监控设备的sn
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "监控设备的sn")
    private String sn;

    /**
     * 雄哥视频平台url
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "雄哥视频平台url")
    private String hlsUrl;


    /**
     * 雄哥视频平台url
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "雄哥视频平台url")
    private String flvUrl;


    /**
     * 道闸设备 productKey
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "道闸设备 productKey")
    private String productKey;
    /**
     * 设备名称
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "道闸设备 deviceName")
    private String deviceName;

    @TableField(exist = false)
    @ApiModelProperty(name = "entranceName", value = "出入口名称")
    private String entranceName;

    @TableField(exist = false)
    @ApiModelProperty(name = "parkingName", value = "停车场名称")
    private String parkingName;


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

    // 模拟桩需要的 ws区分的key
    @TableField(exist = false)
    private String wsKey;
}
