mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-21 01:26:59 +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:
19
lib/models/space/senior_inquiry.dart
Normal file
19
lib/models/space/senior_inquiry.dart
Normal file
@@ -0,0 +1,19 @@
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
part 'senior_inquiry.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class SeniorInquiry {
|
||||
@JsonKey(name: 'inquiry_text')
|
||||
String? inquiryText;
|
||||
@JsonKey(name: 'inquiry_url')
|
||||
String? inquiryUrl;
|
||||
|
||||
SeniorInquiry({this.inquiryText, this.inquiryUrl});
|
||||
|
||||
factory SeniorInquiry.fromJson(Map<String, dynamic> json) {
|
||||
return _$SeniorInquiryFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$SeniorInquiryToJson(this);
|
||||
}
|
||||
Reference in New Issue
Block a user