package com.seer.teach.iot.module.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.seer.teach.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author Captain
 * @since 2025-05-19
 */
@Getter
@Setter
@TableName("iot_devices")
@Schema(name = "DevicesEntity对象", description = "")
public class DevicesEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "设备标识符")
    @TableField("union_id")
    private String unionId;

    @Schema(description = "IP地域")
    @TableField("ip")
    private String ip;

    @Schema(description = "城市")
    @TableField("city_id")
    private Integer cityId;

    @Schema(description = "型号ID")
    @TableField("model_id")
    private Integer modelId;

    @Schema(description = "版本ID")
    @TableField("version_id")
    private Integer versionId;

    @Schema(description = "AppId")
    @TableField("app_id")
    private Integer appId;

    @Schema(description = "状态(0 启用 1禁用)")
    @TableField("status")
    private Integer status;

}