1. Import
This commit is contained in:
commit
cb4525a774
165 files changed
+14763
No files matched your search
@@ -0,0 +1,31 @@
|
||||
import 'package:isar/isar.dart';
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
part 'status.g.dart';
|
||||
|
||||
@collection
|
||||
@JsonSerializable()
|
||||
class Status {
|
||||
final Id id = 0;
|
||||
|
||||
@JsonKey(name: 'cust_id')
|
||||
int? custId;
|
||||
@JsonKey(name: 'hq_id')
|
||||
int? hqId;
|
||||
@JsonKey(name: 'usr_id')
|
||||
int? usrId;
|
||||
@JsonKey(name: 'cr_id')
|
||||
int? crId;
|
||||
@JsonKey(name: 'sid')
|
||||
String? sid;
|
||||
@JsonKey(name: 'vht_id')
|
||||
int? vhtId;
|
||||
@JsonKey(name: 'loc_zip')
|
||||
String? locZip;
|
||||
|
||||
Status({this.hqId, this.usrId, this.crId, this.sid, this.vhtId, this.locZip, this.custId});
|
||||
|
||||
factory Status.fromJson(Map<String, dynamic> json) => _$StatusFromJson(json);
|
||||
|
||||
Map<String, dynamic> toJson() => _$StatusToJson(this);
|
||||
}
|
||||
Reference in new issue
Block a user