package com.zhongshu.card.client.model.devices;

import com.github.microservice.models.type.DeviceSpecType;
import com.github.microservice.models.type.DeviceType;
import com.zhongshu.card.client.model.base.SuperParam;
import com.zhongshu.card.client.type.OnLineState;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author TRX
 * @date 2024/6/14
 */
@Data
public class DeviceInfoParam extends SuperParam {
    @Schema(description = "设备ID、设备编号")
    private String deviceId;

    @Schema(description = "设备名称")
    private String deviceName;

    @Schema(description = "设备类型，如 消费机 门禁机")
    private DeviceType deviceType;

    @Schema(description = "设备型号")
    private DeviceSpecType deviceModel;

    @Schema(description = "网关号")
    private String gateWayId;

    @Schema(description = "关联的项目code")
    private String projectInfoCode;

    @Schema(description = "所属区域")
    private String areaId;

    @Schema(description = "是否在线")
    private OnLineState onLineState = OnLineState.OnLine;

    @Schema(description = "设备IP地址")
    private String ip;


}
