package org.dromara.app.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("app_device")
public class AppDevice extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "device_no")
    private String deviceNo;

    private Long userId;

    private String deviceName;
    private String deviceInitName;

    private String deviceImg;

    private String qrcode;

    private String status;

    private String workStatus;

    private String powerLevel;

    private Date powerLevelUpdatatime;

    private String wifiName;

    private String wifiPassword;

    private String deviceEm;

    private String deviceSn;

    private String fwVer;

    private String macAddress;

    private Date expirationTime;
}
