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;

/**
 * 设备表
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("biz_device")
public class BizDevice extends CommonEntity {

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

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

    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("公布状态")
    private String publicStatus;

    @ApiModelProperty("排序")
    private int sortCode;

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

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

}
