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

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;

import java.util.Date;

/**
 * <p>
 * 设备事件
 * </p>
 *
 * @author miaoqs
 * @since 2023-12-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("door_device_event")
@ApiModel(value="DoorDeviceEvent对象", description="设备事件")
public class DoorDeviceEvent extends TenantEntity {

    /**
     * 门禁点
     */
    @ApiModelProperty(name = "devicePointId", value = "门禁点")
    private Long devicePointId;
    /**
     * 控制器
     */
    @ApiModelProperty(name = "deviceId", value = "控制器")
    private Long deviceId;
    /**
     * 事件类型
     */
    @ApiModelProperty(name = "eventType", value = "事件类型")
    private String eventType;
    /**
     * 控制器区域
     */
    @ApiModelProperty(name = "parkId", value = "控制器区域")
    private Long parkId;
    /**
     * 读卡器
     */
    @ApiModelProperty(name = "cardReader", value = "读卡器")
    private String cardReader;
    /**
     * 事件时间
     */
    @ApiModelProperty(name = "eventTime", value = "事件时间")
    private Date eventTime;

    /**
     * 图片路径
     */
    @ApiModelProperty(name = "image", value = "图片路径")
    private String image;


}
