opt: avatar model (#814)

This commit is contained in:
My-Responsitories
2025-05-05 00:45:24 +08:00
committed by GitHub
parent 07d2b3b464
commit cdeb843a84
30 changed files with 137 additions and 506 deletions

View File

@@ -1,3 +1,5 @@
import 'package:PiliPlus/models/model_avatar.dart';
class MemberInfoModel {
MemberInfoModel({
this.mid,
@@ -44,27 +46,6 @@ class MemberInfoModel {
}
}
class Vip {
Vip({
this.type,
this.status,
this.dueDate,
this.label,
});
int? type;
int? status;
int? dueDate;
Map? label;
Vip.fromJson(Map<String, dynamic> json) {
type = json['type'];
status = json['status'];
dueDate = json['due_date'];
label = json['label'];
}
}
class LiveRoom {
LiveRoom({
this.roomStatus,