Refactor member page (#3)

* refactor: member page

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip
This commit is contained in:
bggRGjQaUbCoE
2024-10-17 11:18:59 +08:00
committed by GitHub
parent 270bf0a4b6
commit f77088b870
205 changed files with 70072 additions and 119 deletions

View File

@@ -0,0 +1,33 @@
import 'package:json_annotation/json_annotation.dart';
part 'pendant.g.dart';
@JsonSerializable()
class Pendant {
int? pid;
String? name;
String? image;
int? expire;
@JsonKey(name: 'image_enhance')
String? imageEnhance;
@JsonKey(name: 'image_enhance_frame')
String? imageEnhanceFrame;
@JsonKey(name: 'n_pid')
int? nPid;
Pendant({
this.pid,
this.name,
this.image,
this.expire,
this.imageEnhance,
this.imageEnhanceFrame,
this.nPid,
});
factory Pendant.fromJson(Map<String, dynamic> json) {
return _$PendantFromJson(json);
}
Map<String, dynamic> toJson() => _$PendantToJson(this);
}