You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
600 B
21 lines
600 B
import 'package:huixiang/data/member_rank.dart'; |
|
import 'package:huixiang/data/sign_in.dart'; |
|
import 'package:huixiang/data/task.dart'; |
|
import 'package:huixiang/generated/json/base/json_field.dart'; |
|
import 'package:huixiang/generated/json/sign_info.g.dart'; |
|
|
|
@JsonSerializable() |
|
class SignInfo { |
|
SignInfo(); |
|
String? point; |
|
bool? todayHasSignin; |
|
MemberRank? rank; |
|
List<SignIn>? signInList; |
|
List<Task>? taskList; |
|
List<int>? rewardList; |
|
|
|
factory SignInfo.fromJson(Map<String, dynamic> json) => |
|
$SignInfoFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => $SignInfoToJson(this); |
|
}
|
|
|