import 'package:deus_app/generated/json/base/json_convert_content.dart';

class EquipmentListEntity with JsonConvert<EquipmentListEntity> {
	late int code;
	late EquipmentListData data;
	late String msg;
}

class EquipmentListData with JsonConvert<EquipmentListData> {
	late int total;
	late int index;
	late int size;
	late dynamic sortBy;
	late dynamic sort;
	late dynamic query;
	late List<EquipmentListDataEquipmentVOS> equipmentVOS;
	late EquipmentListDataCountDTO countDTO;
}

class EquipmentListDataEquipmentVOS with JsonConvert<EquipmentListDataEquipmentVOS> {
	late int id;
	late String name;
	late String showName;
	late String deviceKey;
	late int authType;
	late int isEnable;
	late dynamic isActive;
	late String deviceSecret;
	late String deviceId;
	late String productName;
	late String productKey;
	late int productId;
	late int status;
	late int nodeType;
	late dynamic connectionProtocol;
	late dynamic ip;
	late dynamic lastUpdateOn;
	late dynamic activationOn;
	late dynamic positionId;
	late dynamic number;
	late String speedA;
	late String speedB;
	late String finenessA;
	late String finenessB;
	late String holeCountA;
	late String holeCountB;
	late dynamic activePeriod;
	late String createdOn;
	late dynamic lastOnlineOn;
	late String iotId;
	late String description;
	late String customerId;
	late dynamic channelId;
	late dynamic imei;
}

class EquipmentListDataCountDTO with JsonConvert<EquipmentListDataCountDTO> {
	late int count;
	late int active;
	late int online;
	late int offline;
}
