Erweiterungen
This commit is contained in:
1 parent
20a1309946
commit
25a2455ce1
18 files changed
+2272
-1261
No files matched your search
@@ -0,0 +1,35 @@
|
||||
import 'package:isar/isar.dart';
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
part 'session_status.g.dart';
|
||||
|
||||
@collection
|
||||
@JsonSerializable()
|
||||
class SessionStatus {
|
||||
final Id id = 0;
|
||||
|
||||
@JsonKey(name: 'cust_id')
|
||||
late int custId;
|
||||
@JsonKey(name: 'hq_id')
|
||||
late int hqId;
|
||||
@JsonKey(name: 'usr_id')
|
||||
late int usrId;
|
||||
@JsonKey(name: 'cr_id')
|
||||
late int crId;
|
||||
@JsonKey(name: 'sid')
|
||||
late String sid;
|
||||
@JsonKey(name: 'vht_id')
|
||||
late int vhtId;
|
||||
@JsonKey(name: 'loc_zip')
|
||||
late String locZip;
|
||||
@JsonKey(name: 'server_version')
|
||||
late String serverVersion;
|
||||
@JsonKey(name: 'server_instance')
|
||||
late String serverInstance;
|
||||
|
||||
SessionStatus();
|
||||
|
||||
factory SessionStatus.fromJson(Map<String, dynamic> json) => _$SessionStatusFromJson(json);
|
||||
|
||||
Map<String, dynamic> toJson() => _$SessionStatusToJson(this);
|
||||
}
|
||||
Reference in new issue
Block a user