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
19 lines
376 B
Dart
19 lines
376 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'relation.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class Relation {
|
|
int? status;
|
|
@JsonKey(name: 'is_follow')
|
|
int? isFollow;
|
|
|
|
Relation({this.status, this.isFollow});
|
|
|
|
factory Relation.fromJson(Map<String, dynamic> json) {
|
|
return _$RelationFromJson(json);
|
|
}
|
|
|
|
Map<String, dynamic> toJson() => _$RelationToJson(this);
|
|
}
|