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_user_in_out_event")
@ApiModel(value="DoorUserInOutEvent对象", description="人员出入事件")
public class DoorUserInOutEvent extends TenantEntity {

    /**
     * 员工
     */
    @ApiModelProperty(name = "userId", value = "员工")
    private Long userId;
    /**
     * 员工姓名
     */
    @ApiModelProperty(name = "userName", value = "员工姓名")
    private String userName;
    /**
     * 证件号
     */
    @ApiModelProperty(name = "idNum", value = "证件号")
    private String idNum;
    /**
     * 卡号
     */
    @ApiModelProperty(name = "cardNum", value = "卡号")
    private String cardNum;
    /**
     * 所属组织
     */
    @ApiModelProperty(name = "deptId", value = "所属组织")
    private Long deptId;
    /**
     * 门禁点
     */
    @ApiModelProperty(name = "devicePointId", value = "门禁点")
    private Long devicePointId;
    /**
     * 控制器
     */
    @ApiModelProperty(name = "deviceId", value = "控制器")
    private Long deviceId;
    /**
     * 门禁点区域
     */
    @ApiModelProperty(name = "parkId", value = "门禁点区域(parkId)")
    private Long parkId;
    /**
     * 事件类型
     */
    @ApiModelProperty(name = "eventType", value = "事件类型")
    private String eventType;
    /**
     * 抓拍图片
     */
    @ApiModelProperty(name = "catchImgUrl", value = "抓拍图片")
    private String catchImgUrl;
    /**
     * 事件时间
     */
    @ApiModelProperty(name = "eventTime", value = "事件时间")
    private Date eventTime;




}
