package org.wfc.system.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import org.wfc.common.mybatis.domain.BaseData;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 客户平台-设备表
 * </p>
 *
 * @author sys
 * @since 2025-01-07
 */
@Getter
@Setter
@TableName("sys_device")
@Schema(name = "SysDevice", description = "客户平台-设备表")
public class SysDevice extends BaseData {

    private static final long serialVersionUID = 1L;

    @Schema(description = "siteId")
    private String siteId;

    @Schema(description = "mac")
    private String mac;

    @Schema(description = "name")
    private String name;

    @Schema(description = "type")
    private String type;

    @Schema(description = "subtype")
    private String subtype;

    @Schema(description = "deviceSeriesType")
    private String deviceSeriesType;

    @Schema(description = "model")
    private String model;

    @Schema(description = "ip")
    private String ip;

    @Schema(description = "ipv6s")
    private String ipv6s;

    @Schema(description = "uptime")
    private String uptime;

    @Schema(description = "status")
    private Integer status;

    @Schema(description = "lastSeen")
    private Long lastSeen;

    @Schema(description = "cpuUtil")
    private Integer cpuUtil;

    @Schema(description = "memUtil")
    private Integer memUtil;

    @Schema(description = "sn")
    private String sn;

    @Schema(description = "licenseStatus")
    private Integer licenseStatus;

    @Schema(description = "tagName")
    private String tagName;

    @Schema(description = "uplinkDeviceMac")
    private String uplinkDeviceMac;

    @Schema(description = "uplink_device_name")
    private String uplinkDeviceName;

    @Schema(description = "uplinkDevicePort")
    private String uplinkDevicePort;

    @Schema(description = "linkSpeed")
    private Integer linkSpeed;

    @Schema(description = "duplex")
    private Integer duplex;

    @Schema(description = "switchConsistent")
    private Boolean switchConsistent;

    @Schema(description = "publicIp")
    private String publicIp;

    @Schema(description = "firmwareVersion")
    private String firmwareVersion;
}
