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

class RepairDetailResponseEntity with JsonConvert<RepairDetailResponseEntity> {
	late int code;
	late RepairDetailResponseData data;
	late String msg;
}

class RepairDetailResponseData with JsonConvert<RepairDetailResponseData> {
	late int id;
	late String repNum='';
	String? theme;
	int? urg;
	String? deviceName;
	late dynamic deviceKey;
	late int treatment;
	late dynamic customerName;
	late dynamic channelName;
	late dynamic submitter;
	late String receiver;
	late String maintainer='暂无';
	late String orderRecTime='暂未接单';
	late String applicant='';
	late int status=-1;
	late int deviceId;
	String? instructions;
	late String applicationTime='';
	late String completeTime='暂未完成';
	late List<String> repairImgUrls;
	late List<String> repairResUrls;
	String? repResRemarks;
	late List<RepairDetailResponseDataLogs> logs;
	RepairDetailResponseDataDevice? device;
}

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

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