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.
22 lines
581 B
22 lines
581 B
import 'package:huixiang/data/member_rank.dart'; |
|
import 'package:huixiang/data/sign_in.dart'; |
|
import 'package:huixiang/data/task.dart'; |
|
import 'package:json_annotation/json_annotation.dart'; |
|
|
|
part 'sign_info.g.dart'; |
|
|
|
@JsonSerializable(explicitToJson: true) |
|
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); |
|
}
|
|
|