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

class PatrolJobDetailResponseEntity with JsonConvert<PatrolJobDetailResponseEntity> {
	late int code;
	late PatrolJobDetailResponseData data;
	late String msg;
}

class PatrolJobDetailResponseData with JsonConvert<PatrolJobDetailResponseData> {
	late int id;
	late String name='';
	late String number;
	late String planName;
	late String planNumber;
	late dynamic termType;
	late int personnelId;
	late String personnel='';
	late String remarks='';
	late String finishTime='';
	late List<String> fileUrls;
	late String startDate;
	late String endDate;
	late int status;
	late dynamic closeReason;
	late dynamic customerName;
	late dynamic channelName;
	late dynamic closeUser;
	late dynamic closeUserName;
	late dynamic closeTime;
	late String createTime;
	late int creator;
	late String creatorName;
	late List<PatrolJobDetailResponseDataPatrolItemVOS> patrolItemVOS;
	late List<PatrolJobDetailResponseDataEquipmentVOS> equipmentVOS;
}

class PatrolJobDetailResponseDataPatrolItemVOS with JsonConvert<PatrolJobDetailResponseDataPatrolItemVOS> {
	late String id;
	late String number;
	late String name;
	late String requirement;
	late String result;
	late int patrolJobId;
	late dynamic results;
}

class PatrolJobDetailResponseDataEquipmentVOS with JsonConvert<PatrolJobDetailResponseDataEquipmentVOS> {
	late int id;
	late int equipmentId;
	late String name;
	late String showName;
	late String deviceKey;
	late String productName;
	late String itemCompleteTime='--';
	late String itemPerson;
	late int patrolJobId;
	late int isComplete;
}
