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.
31 lines
631 B
31 lines
631 B
import 'package:json_annotation/json_annotation.dart'; |
|
|
|
part 'rank.g.dart'; |
|
|
|
@JsonSerializable(explicitToJson: true) |
|
class Rank { |
|
String? createTime = ''; |
|
dynamic createUser; |
|
dynamic id; |
|
String? price; |
|
String? rankContent = ''; |
|
String? rankImg = ''; |
|
String? rankName = ''; |
|
int? rankOrigin = 0; |
|
bool? status = false; |
|
String? updateTime = ''; |
|
dynamic updateUser = 0; |
|
int? level = 0; |
|
String? color = ''; |
|
String? textColor = ''; |
|
int? originScore = 0; |
|
int? demotionScore = 0; |
|
|
|
Rank(); |
|
|
|
factory Rank.fromJson(Map<String, dynamic> json) => _$RankFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => _$RankToJson(this); |
|
|
|
|
|
} |