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

class RepairQueryDeviceResponseEntity with JsonConvert<RepairQueryDeviceResponseEntity> {
	late int code;
	late RepairQueryDeviceResponseData data;
	late String msg;
}

class RepairQueryDeviceResponseData with JsonConvert<RepairQueryDeviceResponseData> {
	late int index;
	@JSONField(name: "list")
	late List<RepairQueryDeviceResponseDataList> xList;
	late RepairQueryDeviceResponseDataQuery query;
	late int size;
	late int sort;
	late String sortBy;
	late int total;
}

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

class RepairQueryDeviceResponseDataQuery with JsonConvert<RepairQueryDeviceResponseDataQuery> {
	late String search;
}
