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

class RepairBillListResponseEntity with JsonConvert<RepairBillListResponseEntity> {
	late int code;
	late RepairBillListResponseData data;
	late String msg;
}

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

class RepairBillListResponseDataList with JsonConvert<RepairBillListResponseDataList> {
	late String applicant='';
	late String applicationTime;
	late String channelName;
	late String completeTime;
	late String customerName;
	late RepairBillListResponseDataListDevice device;
	late int deviceId;
	late String deviceKey;
	late String deviceName;
	late int id;
	late String instructions;
	late List<RepairBillListResponseDataListLogs> logs;
	late String maintainer;
	late String orderRecTime;
	late String receiver;
	late String repNum;
	late String repairImgUrl;
	late String repairResUrl;
	late int status;
	late String submitter;
	late String theme;
	late int treatment;
	late int urg;
}

class RepairBillListResponseDataListDevice with JsonConvert<RepairBillListResponseDataListDevice> {
	late String completeTime;
	late String deviceKey;
	late String deviceName;
	late int id;
	late int isRepaired;
	late String prodName;
	late String repairBillId;
	late String showName;
}

class RepairBillListResponseDataListLogs with JsonConvert<RepairBillListResponseDataListLogs> {
	late String createTime;
	late int creator;
	late String description;
	late int id;
	late int repairBillId;
	late String updateTime;
	late int updater;
	late String userName;
}

class RepairBillListResponseDataQuery with JsonConvert<RepairBillListResponseDataQuery> {
	late String applicant;
	late int deviceId;
	late String deviceKey;
	late String deviceName;
	late int equipmentId;
	late int id;
	late String instructions;
	late String remarks;
	late String repNum;
	late int repairImgId;
	late int repairResId;
	late int status;
	late String theme;
	late int treatment;
	late int urg;
	late List<String> urls;
}
