package org.dromara.web.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.io.Serial;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_driver_device_token_bind")
public class DriverDeviceTokenBind extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id")
    private Long id;

    private String tenantId;

    private Long userId;

    private String driverId;

    private String deviceId;

    private String tokenValue;

    private String clientKey;

    private String deviceType;

    private Integer status;

    private String kickReason;

    private Date kickTime;

    private Date logoutTime;

    private Date loginTime;
}
