package com.corewing.app.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.corewing.app.common.base.CommonEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 设备激活表
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("biz_device_activation")
public class BizDeviceActivation extends CommonEntity {

    @TableId
    @ApiModelProperty("激活id")
    private String id;

    @ApiModelProperty("设备mac地址")
    private String deviceMac;

    @ApiModelProperty("设备id")
    private String deviceId;

    @ApiModelProperty("激活时间")
    private Date activationTime;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("激活ip")
    private String activationIp;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("扩展字段")
    private String extJson;

}
