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.
35 lines
788 B
35 lines
788 B
10 months ago
|
import 'package:huixiang/generated/json/base/json_field.dart';
|
||
|
import 'package:huixiang/generated/json/rank.g.dart';
|
||
|
import 'dart:convert';
|
||
|
export 'package:huixiang/generated/json/rank.g.dart';
|
||
|
|
||
|
@JsonSerializable()
|
||
|
class Rank {
|
||
|
String? createTime = '';
|
||
|
int? createUser = 0;
|
||
|
int? id = 0;
|
||
|
int? price = 0;
|
||
|
String? rankContent = '';
|
||
|
String? rankImg = '';
|
||
|
String? rankName = '';
|
||
|
int? rankOrigin = 0;
|
||
|
bool? status = false;
|
||
|
String? updateTime = '';
|
||
|
int? 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);
|
||
|
|
||
|
@override
|
||
|
String toString() {
|
||
|
return jsonEncode(this);
|
||
|
}
|
||
|
}
|