package com.usky.ems.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 设备状态表（dmp_device_status）
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("dmp_device_status")
public class DmpDeviceStatus implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String deviceId;

    private Integer productId;

    private Integer deviceStatus;

    private LocalDateTime lastOnlineTime;

    private LocalDateTime lastOfflineTime;

    private String productCode;

    private String deviceUuid;
}
