package com.yuchen.saas.park.api.entity.door;

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;

/**
 * <p>
 * 门禁点
 * </p>
 *
 * @author miaoqs
 * @since 2023-12-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("door_device_point")
@ApiModel(value="DoorDevicePoint对象", description="门禁点")
public class DoorDevicePoint extends TenantEntity {

    /**
     * 门禁设备id
     */
    @ApiModelProperty(name = "equipmentId", value = "门禁设备id")
    private Long equipmentId;
    /**
     * 门禁点名称
     */
    @ApiModelProperty(name = "devicePointName", value = "门禁点名称")
    private String devicePointName;
    /**
     * 所在区域(园区id)
     */
    @ApiModelProperty(name = "parkId", value = "所在区域(园区id)")
    private Long parkId;
    /**
     * 位置说明
     */
    @ApiModelProperty(name = "placeExplain", value = "位置说明")
    private String placeExplain;
    /**
     * 详细地址
     */
    @ApiModelProperty(name = "address", value = "详细地址")
    private String address;
    /**
     * 描述
     */
    @ApiModelProperty(name = "description", value = "描述")
    private String description;
    /**
     * 经度
     */
    @ApiModelProperty(name = "longitude", value = "经度")
    private String longitude;
    /**
     * 纬度
     */
    @ApiModelProperty(name = "latitude", value = "纬度")
    private String latitude;

    /**
     * 设备名称
     */
    @TableField(exist = false)
    @ApiModelProperty(name = "deviceName", value = "设备名称")
    private String deviceName;
    /**
     * 所在区域名称
     */
    @TableField(exist = false)
    @ApiModelProperty(name = "parkName", value = "所在区域")
    private String parkName;


}
