1. Import
This commit is contained in:
commit
cb4525a774
165 files changed
+14763
No files matched your search
@@ -0,0 +1,30 @@
|
||||
import 'package:isar/isar.dart';
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
import 'package:stadtbote/model/tour_position.dart';
|
||||
import 'package:stadtbote/model/tour_task.dart';
|
||||
|
||||
part 'job_tour.g.dart';
|
||||
|
||||
@embedded
|
||||
@JsonSerializable()
|
||||
class JobTour {
|
||||
late int id;
|
||||
late int sort;
|
||||
late int state;
|
||||
late String mode;
|
||||
late String comp;
|
||||
late String person;
|
||||
late String phone;
|
||||
late String street;
|
||||
late String city;
|
||||
late String com;
|
||||
late TourPosition? pos;
|
||||
late List<String> rem;
|
||||
late List<TourTask> tasks;
|
||||
|
||||
JobTour();
|
||||
|
||||
factory JobTour.fromJson(Map<String, dynamic> json) => _$JobTourFromJson(json);
|
||||
|
||||
Map<String, dynamic> toJson() => _$JobTourToJson(this);
|
||||
}
|
||||
Reference in new issue
Block a user