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.
135 lines
3.2 KiB
135 lines
3.2 KiB
4 years ago
|
/// id : "1413347011645669376"
|
||
|
/// createTime : "2021-07-09 11:59:21"
|
||
|
/// createUser : "1406879717390286848"
|
||
|
/// updateTime : "2021-07-09 11:59:21"
|
||
|
/// updateUser : "1406879717390286848"
|
||
|
/// mid : "1406879717390286848"
|
||
|
/// linkId : "0"
|
||
|
/// pm : 1
|
||
|
/// title : "bill_title_point"
|
||
|
/// category : "bill_cate_point_get"
|
||
|
/// type : "bill_type_point_signin"
|
||
|
/// number : "10.00"
|
||
|
/// balance : "30.00"
|
||
|
/// mark : ""
|
||
|
/// status : true
|
||
|
/// isDeleted : false
|
||
|
/// name : "签到"
|
||
|
|
||
|
class UserBill {
|
||
|
String _id;
|
||
|
String _createTime;
|
||
|
String _createUser;
|
||
|
String _updateTime;
|
||
|
String _updateUser;
|
||
|
String _mid;
|
||
|
String _linkId;
|
||
|
int _pm;
|
||
|
String _title;
|
||
|
String _category;
|
||
|
String _type;
|
||
|
String _number;
|
||
|
String _balance;
|
||
|
String _mark;
|
||
|
bool _status;
|
||
|
bool _isDeleted;
|
||
|
String _name;
|
||
|
|
||
|
String get id => _id;
|
||
|
String get createTime => _createTime;
|
||
|
String get createUser => _createUser;
|
||
|
String get updateTime => _updateTime;
|
||
|
String get updateUser => _updateUser;
|
||
|
String get mid => _mid;
|
||
|
String get linkId => _linkId;
|
||
|
int get pm => _pm;
|
||
|
String get title => _title;
|
||
|
String get category => _category;
|
||
|
String get type => _type;
|
||
|
String get number => _number;
|
||
|
String get balance => _balance;
|
||
|
String get mark => _mark;
|
||
|
bool get status => _status;
|
||
|
bool get isDeleted => _isDeleted;
|
||
|
String get name => _name;
|
||
|
|
||
|
UserBill({
|
||
|
String id,
|
||
|
String createTime,
|
||
|
String createUser,
|
||
|
String updateTime,
|
||
|
String updateUser,
|
||
|
String mid,
|
||
|
String linkId,
|
||
|
int pm,
|
||
|
String title,
|
||
|
String category,
|
||
|
String type,
|
||
|
String number,
|
||
|
String balance,
|
||
|
String mark,
|
||
|
bool status,
|
||
|
bool isDeleted,
|
||
|
String name}){
|
||
|
_id = id;
|
||
|
_createTime = createTime;
|
||
|
_createUser = createUser;
|
||
|
_updateTime = updateTime;
|
||
|
_updateUser = updateUser;
|
||
|
_mid = mid;
|
||
|
_linkId = linkId;
|
||
|
_pm = pm;
|
||
|
_title = title;
|
||
|
_category = category;
|
||
|
_type = type;
|
||
|
_number = number;
|
||
|
_balance = balance;
|
||
|
_mark = mark;
|
||
|
_status = status;
|
||
|
_isDeleted = isDeleted;
|
||
|
_name = name;
|
||
|
}
|
||
|
|
||
|
UserBill.fromJson(dynamic json) {
|
||
|
_id = json["id"];
|
||
|
_createTime = json["createTime"];
|
||
|
_createUser = json["createUser"];
|
||
|
_updateTime = json["updateTime"];
|
||
|
_updateUser = json["updateUser"];
|
||
|
_mid = json["mid"];
|
||
|
_linkId = json["linkId"];
|
||
|
_pm = json["pm"];
|
||
|
_title = json["title"];
|
||
|
_category = json["category"];
|
||
|
_type = json["type"];
|
||
|
_number = json["number"];
|
||
|
_balance = json["balance"];
|
||
|
_mark = json["mark"];
|
||
|
_status = json["status"];
|
||
|
_isDeleted = json["isDeleted"];
|
||
|
_name = json["name"];
|
||
|
}
|
||
|
|
||
|
Map<String, dynamic> toJson() {
|
||
|
var map = <String, dynamic>{};
|
||
|
map["id"] = _id;
|
||
|
map["createTime"] = _createTime;
|
||
|
map["createUser"] = _createUser;
|
||
|
map["updateTime"] = _updateTime;
|
||
|
map["updateUser"] = _updateUser;
|
||
|
map["mid"] = _mid;
|
||
|
map["linkId"] = _linkId;
|
||
|
map["pm"] = _pm;
|
||
|
map["title"] = _title;
|
||
|
map["category"] = _category;
|
||
|
map["type"] = _type;
|
||
|
map["number"] = _number;
|
||
|
map["balance"] = _balance;
|
||
|
map["mark"] = _mark;
|
||
|
map["status"] = _status;
|
||
|
map["isDeleted"] = _isDeleted;
|
||
|
map["name"] = _name;
|
||
|
return map;
|
||
|
}
|
||
|
|
||
|
}
|