mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
* refactor: member page * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip
20 lines
462 B
Dart
20 lines
462 B
Dart
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);
|
|
}
|