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
553 B
22 lines
553 B
4 years ago
|
import 'package:huixiang/retrofit/data/member_rank.dart';
|
||
|
import 'package:huixiang/retrofit/data/sign_in.dart';
|
||
|
import 'package:huixiang/retrofit/data/task.dart';
|
||
|
import 'package:json_annotation/json_annotation.dart';
|
||
|
|
||
|
part 'sign_info.g.dart';
|
||
|
|
||
|
@JsonSerializable()
|
||
|
class SignInfo {
|
||
|
SignInfo();
|
||
|
String point;
|
||
|
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);
|
||
|
|
||
|
|
||
|
}
|