mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-05 09:37:52 +08:00
Refactor member page (#3)
* refactor: member page * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip
This commit is contained in:
32
lib/models/space/vip.dart
Normal file
32
lib/models/space/vip.dart
Normal file
@@ -0,0 +1,32 @@
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
import 'label.dart';
|
||||
|
||||
part 'vip.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class Vip {
|
||||
int? vipType;
|
||||
int? vipDueDate;
|
||||
String? dueRemark;
|
||||
int? accessStatus;
|
||||
int? vipStatus;
|
||||
String? vipStatusWarn;
|
||||
int? themeType;
|
||||
Label? label;
|
||||
|
||||
Vip({
|
||||
this.vipType,
|
||||
this.vipDueDate,
|
||||
this.dueRemark,
|
||||
this.accessStatus,
|
||||
this.vipStatus,
|
||||
this.vipStatusWarn,
|
||||
this.themeType,
|
||||
this.label,
|
||||
});
|
||||
|
||||
factory Vip.fromJson(Map<String, dynamic> json) => _$VipFromJson(json);
|
||||
|
||||
Map<String, dynamic> toJson() => _$VipToJson(this);
|
||||
}
|
||||
Reference in New Issue
Block a user