You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
	
	
		
			64 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Dart
		
	
		
		
			
		
	
	
			64 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Dart
		
	
| 
								 
											2 years ago
										 
									 | 
							
								class CallSiteContactPerson {
							 | 
						||
| 
								 | 
							
								  CallSiteContactPerson({
							 | 
						||
| 
								 | 
							
								    this.id,
							 | 
						||
| 
								 | 
							
								    this.employeeCode,
							 | 
						||
| 
								 | 
							
								    this.name,
							 | 
						||
| 
								 | 
							
								    this.telephone,
							 | 
						||
| 
								 | 
							
								    this.job,
							 | 
						||
| 
								 | 
							
								    this.email,
							 | 
						||
| 
								 | 
							
								    this.land,
							 | 
						||
| 
								 | 
							
								    this.contactUserId,
							 | 
						||
| 
								 | 
							
								  });
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  CallSiteContactPerson.fromJson(dynamic json) {
							 | 
						||
| 
								 | 
							
								    id = json['id'];
							 | 
						||
| 
								 | 
							
								    employeeCode = json['employeeCode'];
							 | 
						||
| 
								 | 
							
								    name = json['name'];
							 | 
						||
| 
								 | 
							
								    telephone = json['telephone'];
							 | 
						||
| 
								 | 
							
								    job = json['job'];
							 | 
						||
| 
								 | 
							
								    email = json['email'];
							 | 
						||
| 
								 | 
							
								    land = json['land'];
							 | 
						||
| 
								 | 
							
								    contactUserId = json['contactUserId'];
							 | 
						||
| 
								 | 
							
								  }
							 | 
						||
| 
								 | 
							
								  num id;
							 | 
						||
| 
								 | 
							
								  String employeeCode;
							 | 
						||
| 
								 | 
							
								  String name;
							 | 
						||
| 
								 | 
							
								  String telephone;
							 | 
						||
| 
								 | 
							
								  String job;
							 | 
						||
| 
								 | 
							
								  String email;
							 | 
						||
| 
								 | 
							
								  String land;
							 | 
						||
| 
								 | 
							
								  String contactUserId;
							 | 
						||
| 
								 | 
							
								  CallSiteContactPerson copyWith({
							 | 
						||
| 
								 | 
							
								    num id,
							 | 
						||
| 
								 | 
							
								    String employeeCode,
							 | 
						||
| 
								 | 
							
								    String name,
							 | 
						||
| 
								 | 
							
								    String telephone,
							 | 
						||
| 
								 | 
							
								    String job,
							 | 
						||
| 
								 | 
							
								    String email,
							 | 
						||
| 
								 | 
							
								    String land,
							 | 
						||
| 
								 | 
							
								    String contactUserId,
							 | 
						||
| 
								 | 
							
								  }) =>
							 | 
						||
| 
								 | 
							
								      CallSiteContactPerson(
							 | 
						||
| 
								 | 
							
								        id: id ?? this.id,
							 | 
						||
| 
								 | 
							
								        employeeCode: employeeCode ?? this.employeeCode,
							 | 
						||
| 
								 | 
							
								        name: name ?? this.name,
							 | 
						||
| 
								 | 
							
								        telephone: telephone ?? this.telephone,
							 | 
						||
| 
								 | 
							
								        job: job ?? this.job,
							 | 
						||
| 
								 | 
							
								        email: email ?? this.email,
							 | 
						||
| 
								 | 
							
								        land: land ?? this.land,
							 | 
						||
| 
								 | 
							
								        contactUserId: contactUserId ?? this.contactUserId,
							 | 
						||
| 
								 | 
							
								      );
							 | 
						||
| 
								 | 
							
								  Map<String, dynamic> toJson() {
							 | 
						||
| 
								 | 
							
								    final map = <String, dynamic>{};
							 | 
						||
| 
								 | 
							
								    map['id'] = id;
							 | 
						||
| 
								 | 
							
								    map['employeeCode'] = employeeCode;
							 | 
						||
| 
								 | 
							
								    map['name'] = name;
							 | 
						||
| 
								 | 
							
								    map['telephone'] = telephone;
							 | 
						||
| 
								 | 
							
								    map['job'] = job;
							 | 
						||
| 
								 | 
							
								    map['email'] = email;
							 | 
						||
| 
								 | 
							
								    map['land'] = land;
							 | 
						||
| 
								 | 
							
								    map['contactUserId'] = contactUserId;
							 | 
						||
| 
								 | 
							
								    return map;
							 | 
						||
| 
								 | 
							
								  }
							 | 
						||
| 
								 | 
							
								}
							 |