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.
56 lines
1.3 KiB
56 lines
1.3 KiB
1 month ago
|
import 'package:json_annotation/json_annotation.dart';
|
||
|
|
||
|
part 'achivement_detail_list.g.dart';
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
class AchivementDetailList {
|
||
|
String? id = '';
|
||
|
String? createTime = '';
|
||
|
String? createUser = '';
|
||
|
String? updateTime = '';
|
||
|
String? updateUser = '';
|
||
|
String? categoryId = '';
|
||
|
String? name = '';
|
||
|
int? level = 0;
|
||
|
String? icon = '';
|
||
|
int? score = 0;
|
||
|
bool? actived = false;
|
||
|
int? sort = 0;
|
||
|
int? isDelete = 0;
|
||
|
String? lessScore = '';
|
||
|
List<RewardList>? rewardList = [];
|
||
|
bool? max = false;
|
||
|
bool? get = false;
|
||
|
|
||
|
AchivementDetailList();
|
||
|
|
||
|
factory AchivementDetailList.fromJson(Map<String, dynamic> json) => _$AchivementDetailListFromJson(json);
|
||
|
|
||
|
Map<String, dynamic> toJson() => _$AchivementDetailListToJson(this);
|
||
|
|
||
|
}
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
class RewardList {
|
||
|
String? id = '';
|
||
|
String? createTime = '';
|
||
|
String? createUser = '';
|
||
|
String? updateTime = '';
|
||
|
String? updateUser = '';
|
||
|
String? categoryId = '';
|
||
|
String? achievementId = '';
|
||
|
int? rewardType = 0;
|
||
|
String? refId = '';
|
||
|
int? isDelete = 0;
|
||
|
dynamic achievementCategoryName;
|
||
|
dynamic achievementName;
|
||
|
dynamic couponName;
|
||
|
|
||
|
RewardList();
|
||
|
|
||
|
factory RewardList.fromJson(Map<String, dynamic> json) => _$RewardListFromJson(json);
|
||
|
|
||
|
Map<String, dynamic> toJson() => _$RewardListToJson(this);
|
||
|
|
||
|
|
||
|
}
|