初始提交
This commit is contained in:
90
bin/model/Person.g.dart
Normal file
90
bin/model/Person.g.dart
Normal file
@@ -0,0 +1,90 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
|
||||
part of 'Person.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// JsonSerializableGenerator
|
||||
// **************************************************************************
|
||||
|
||||
Person _$PersonFromJson(Map<String, dynamic> json) => Person()
|
||||
..id = json['_id'] as String?
|
||||
..room_id = json['room_id'] as String?
|
||||
..room_name = json['room_name'] as String?
|
||||
..bed_id = json['bed_id'] as String?
|
||||
..bed_name = json['bed_name'] as String?
|
||||
..check_in_start_time = (json['check_in_start_time'] as num?)?.toInt()
|
||||
..check_in_end_time = (json['check_in_end_time'] as num?)?.toInt()
|
||||
..contact_name = json['contact_name'] as String?
|
||||
..contact_relationship = json['contact_relationship'] as String?
|
||||
..contact_phone = json['contact_phone'] as String?
|
||||
..person_name = json['person_name'] as String?
|
||||
..gender = json['gender'] as String?
|
||||
..ethnicity = json['ethnicity'] as String?
|
||||
..person_type_id = json['person_type_id'] as String?
|
||||
..person_type_name = json['person_type_name'] as String?
|
||||
..id_card_number = json['id_card_number'] as String?
|
||||
..phone_number = json['phone_number'] as String?
|
||||
..service_level = json['service_level'] as String?
|
||||
..health_info = json['health_info'] as String?
|
||||
..height = json['height'] as String?
|
||||
..weight = json['weight'] as String?
|
||||
..tid = json['tid'] as String?
|
||||
..oid = json['oid'] as String?
|
||||
..deleted = (json['deleted'] as num?)?.toInt()
|
||||
..created_at = (json['created_at'] as num?)?.toInt()
|
||||
..updated_at = (json['updated_at'] as num?)?.toInt()
|
||||
..data_level = (json['data_level'] as num?)?.toInt()
|
||||
..age = json['age'] as String?
|
||||
..desc = json['desc'] as String?
|
||||
..level = (json['level'] as num?)?.toInt()
|
||||
..bed_ids = json['bed_ids'] as String?
|
||||
..query_gender = json['query_gender'] as String?
|
||||
..deviceID = json['deviceID'] as String?
|
||||
..status = json['status'] as String?
|
||||
..start_time = json['start_time'] as String?
|
||||
..end_time = json['end_time'] as String?
|
||||
..query_person_type = json['query_person_type'] as String?
|
||||
..page = json['page'] as String?
|
||||
..limit = json['limit'] as String?;
|
||||
|
||||
Map<String, dynamic> _$PersonToJson(Person instance) => <String, dynamic>{
|
||||
'_id': instance.id,
|
||||
'room_id': instance.room_id,
|
||||
'room_name': instance.room_name,
|
||||
'bed_id': instance.bed_id,
|
||||
'bed_name': instance.bed_name,
|
||||
'check_in_start_time': instance.check_in_start_time,
|
||||
'check_in_end_time': instance.check_in_end_time,
|
||||
'contact_name': instance.contact_name,
|
||||
'contact_relationship': instance.contact_relationship,
|
||||
'contact_phone': instance.contact_phone,
|
||||
'person_name': instance.person_name,
|
||||
'gender': instance.gender,
|
||||
'ethnicity': instance.ethnicity,
|
||||
'person_type_id': instance.person_type_id,
|
||||
'person_type_name': instance.person_type_name,
|
||||
'id_card_number': instance.id_card_number,
|
||||
'phone_number': instance.phone_number,
|
||||
'service_level': instance.service_level,
|
||||
'health_info': instance.health_info,
|
||||
'height': instance.height,
|
||||
'weight': instance.weight,
|
||||
'tid': instance.tid,
|
||||
'oid': instance.oid,
|
||||
'deleted': instance.deleted,
|
||||
'created_at': instance.created_at,
|
||||
'updated_at': instance.updated_at,
|
||||
'data_level': instance.data_level,
|
||||
'age': instance.age,
|
||||
'desc': instance.desc,
|
||||
'level': instance.level,
|
||||
'bed_ids': instance.bed_ids,
|
||||
'query_gender': instance.query_gender,
|
||||
'deviceID': instance.deviceID,
|
||||
'status': instance.status,
|
||||
'start_time': instance.start_time,
|
||||
'end_time': instance.end_time,
|
||||
'query_person_type': instance.query_person_type,
|
||||
'page': instance.page,
|
||||
'limit': instance.limit,
|
||||
};
|
||||
Reference in New Issue
Block a user