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.
374 lines
14 KiB
374 lines
14 KiB
1 year ago
|
/// records : [{"id":"1730229003043733504","createTime":"2023-11-30 22:15:15","createUser":"0","updateTime":"2023-11-30 22:15:15","updateUser":"0","mid":null,"openid":"otrgp5C7qpd-V2AHosRZOnN4NoEM","nickname":"","headimg":"","balance":"0.00","money":"0","realRecharge":"0.00","giftRecharge":"0.00","sex":"0","status":true,"loginTime":"2023-11-30 22:15:15","loginNum":1,"tenantCode":"1195","phone":"","source":0,"expendAmount":"0.00","buyTimes":0,"lastBuyTime":null,"onCredit":false},{"id":"1729813919708479488","createTime":"2023-11-29 18:45:52","createUser":"0","updateTime":"2023-11-29 18:45:52","updateUser":"0","mid":null,"openid":"otrgp5Brxv8c7fdZbIjmbUEaLBVM","nickname":"","headimg":"","balance":"0.00","money":"0","realRecharge":"0.00","giftRecharge":"0.00","sex":"0","status":true,"loginTime":"2023-11-29 18:45:52","loginNum":2,"tenantCode":"1195","phone":"","source":0,"expendAmount":"0.00","buyTimes":0,"lastBuyTime":null,"onCredit":false},{"id":"1729685559346987008","createTime":"2023-11-29 10:15:48","createUser":"0","updateTime":"2023-11-29 10:15:48","updateUser":"0","mid":null,"openid":"otrgp5M6pxBus4Ykh1XdeHHLiFBA","nickname":"","headimg":"","balance":"0.00","money":"0","realRecharge":"0.00","giftRecharge":"0.00","sex":"0","status":true,"loginTime":"2023-11-29 10:15:48","loginNum":1,"tenantCode":"1195","phone":"","source":0,"expendAmount":"0.00","buyTimes":0,"lastBuyTime":null,"onCredit":false},{"id":"1729685558696869888","createTime":"2023-11-29 10:15:48","createUser":"0","updateTime":"2023-11-29 10:15:48","updateUser":"0","mid":null,"openid":"otrgp5M6pxBus4Ykh1XdeHHLiFBA","nickname":"","headimg":"","balance":"0.00","money":"0","realRecharge":"0.00","giftRecharge":"0.00","sex":"0","status":true,"loginTime":"2023-11-29 10:15:48","loginNum":1,"tenantCode":"1195","phone":"","source":0,"expendAmount":"0.00","buyTimes":0,"lastBuyTime":null,"onCredit":false},{"id":"1729062974783488000","createTime":"2023-11-27 17:01:52","createUser":"0","updateTime":"2023-11-27 17:01:52","updateUser":"0","mid":null,"openid":null,"nickname":"","headimg":"","balance":"0.00","money":"0","realRecharge":"0.00","giftRecharge":"0.00","sex":"0","status":true,"loginTime":"2023-11-27 17:01:52","loginNum":0,"tenantCode":"1195","phone":"","source":1,"expendAmount":"0.00","buyTimes":0,"lastBuyTime":null,"onCredit":false},{"id":"1728984020596817920","createTime":"2023-11-27 11:48:08","createUser":"0","updateTime":"2023-11-27 11:48:08","updateUser":"0","mid":null,"openid":"otrgp5GG69LQo1_xaPpxNnpnds7A","nickname":"","headimg":"","balance":"0.00","money":"0","realRecharge":"0.00","giftRecharge":"0.00","sex":"0","status":true,"loginTime":"2023-11-27 11:48:08","loginNum":1,"tenantCode":"1195","phone":"","source":0,"expendAmount":"0.00","buyTimes":0,"lastBuyTime":null,"onCredit":false},{"id":"1728980774142607360","createTime":"2023-11-27 11:35:14","createUser":"0","updateTime":"2023-11-27 11:35:14","updateUser":"0","mid":null,"openid":"otrgp5NcFDlLRPi7RPpFolajayLQ","nickname":"","headimg":"","balance":"0.00","money":"0","realRecharge":"0.00","giftRecharge":"0.00","sex":"0","status":true,"loginTime":"2023-11-27 11:35:14","loginNum":1,"tenantCode":"1195","phone":"","source":0,"expendAmount":"0.00","buyTimes":0,"lastBuyTime":null,"onCredit":false},{"id":"1728297227396317184","createTime":"2023-11-25 14:19:04","createUser":"0","updateTime":"2023-11-25 14:19:04","updateUser":"0","mid":null,"openid":"otrgp5Obp61VrN7tyvXdT1MNsAL0","nickname":"","headimg":"","balance":"0.00","money":"0","realRecharge":"0.00","giftRecharge":"0.00","sex":"0","status":true,"loginTime":"2023-11-25 14:19:04","loginNum":1,"tenantCode":"1195","phone":"","source":0,"expendAmount":"0.00","buyTimes":0,"lastBuyTime":null,"onCredit":false},{"id":"1728274418079105024","createTime":"2023-11-25 12:48:26","createUser":"0","updateTime":"2023-11-25 12:48:26","updateUser":"0","mid":null,"openid":"otrgp5L0bMvf8DXFf_kdRCzPqpEM","nickname":"","headimg":"","balance":"0.00","money":"0","realRecharge":"0.00","giftRecharge":"0.00","sex":"0","status":true,"loginTime":"2023-11-25 12:48:26","loginNum":1,"tenantC
|
||
|
/// total : "9378"
|
||
|
/// size : "10"
|
||
|
/// current : "1"
|
||
|
/// orders : [{"column":"id","asc":false}]
|
||
|
/// hitCount : false
|
||
|
/// searchCount : true
|
||
|
/// pages : "938"
|
||
|
|
||
|
class BusinessVipList {
|
||
|
BusinessVipList({
|
||
|
List<Records> records,
|
||
|
String total,
|
||
|
String size,
|
||
|
String current,
|
||
|
List<Orders> orders,
|
||
|
bool hitCount,
|
||
|
bool searchCount,
|
||
|
String pages,}){
|
||
|
_records = records;
|
||
|
_total = total;
|
||
|
_size = size;
|
||
|
_current = current;
|
||
|
_orders = orders;
|
||
|
_hitCount = hitCount;
|
||
|
_searchCount = searchCount;
|
||
|
_pages = pages;
|
||
|
}
|
||
|
|
||
|
BusinessVipList.fromJson(dynamic json) {
|
||
|
if (json['records'] != null) {
|
||
|
_records = [];
|
||
|
json['records'].forEach((v) {
|
||
|
_records.add(Records.fromJson(v));
|
||
|
});
|
||
|
}
|
||
|
_total = json['total'];
|
||
|
_size = json['size'];
|
||
|
_current = json['current'];
|
||
|
if (json['orders'] != null) {
|
||
|
_orders = [];
|
||
|
json['orders'].forEach((v) {
|
||
|
_orders.add(Orders.fromJson(v));
|
||
|
});
|
||
|
}
|
||
|
_hitCount = json['hitCount'];
|
||
|
_searchCount = json['searchCount'];
|
||
|
_pages = json['pages'];
|
||
|
}
|
||
|
List<Records> _records;
|
||
|
String _total;
|
||
|
String _size;
|
||
|
String _current;
|
||
|
List<Orders> _orders;
|
||
|
bool _hitCount;
|
||
|
bool _searchCount;
|
||
|
String _pages;
|
||
|
BusinessVipList copyWith({ List<Records> records,
|
||
|
String total,
|
||
|
String size,
|
||
|
String current,
|
||
|
List<Orders> orders,
|
||
|
bool hitCount,
|
||
|
bool searchCount,
|
||
|
String pages,
|
||
|
}) => BusinessVipList( records: records ?? _records,
|
||
|
total: total ?? _total,
|
||
|
size: size ?? _size,
|
||
|
current: current ?? _current,
|
||
|
orders: orders ?? _orders,
|
||
|
hitCount: hitCount ?? _hitCount,
|
||
|
searchCount: searchCount ?? _searchCount,
|
||
|
pages: pages ?? _pages,
|
||
|
);
|
||
|
List<Records> get records => _records;
|
||
|
String get total => _total;
|
||
|
String get size => _size;
|
||
|
String get current => _current;
|
||
|
List<Orders> get orders => _orders;
|
||
|
bool get hitCount => _hitCount;
|
||
|
bool get searchCount => _searchCount;
|
||
|
String get pages => _pages;
|
||
|
|
||
|
Map<String, dynamic> toJson() {
|
||
|
final map = <String, dynamic>{};
|
||
|
if (_records != null) {
|
||
|
map['records'] = _records.map((v) => v.toJson()).toList();
|
||
|
}
|
||
|
map['total'] = _total;
|
||
|
map['size'] = _size;
|
||
|
map['current'] = _current;
|
||
|
if (_orders != null) {
|
||
|
map['orders'] = _orders.map((v) => v.toJson()).toList();
|
||
|
}
|
||
|
map['hitCount'] = _hitCount;
|
||
|
map['searchCount'] = _searchCount;
|
||
|
map['pages'] = _pages;
|
||
|
return map;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
/// column : "id"
|
||
|
/// asc : false
|
||
|
|
||
|
class Orders {
|
||
|
Orders({
|
||
|
String column,
|
||
|
bool asc,}){
|
||
|
_column = column;
|
||
|
_asc = asc;
|
||
|
}
|
||
|
|
||
|
Orders.fromJson(dynamic json) {
|
||
|
_column = json['column'];
|
||
|
_asc = json['asc'];
|
||
|
}
|
||
|
String _column;
|
||
|
bool _asc;
|
||
|
Orders copyWith({ String column,
|
||
|
bool asc,
|
||
|
}) => Orders( column: column ?? _column,
|
||
|
asc: asc ?? _asc,
|
||
|
);
|
||
|
String get column => _column;
|
||
|
bool get asc => _asc;
|
||
|
|
||
|
Map<String, dynamic> toJson() {
|
||
|
final map = <String, dynamic>{};
|
||
|
map['column'] = _column;
|
||
|
map['asc'] = _asc;
|
||
|
return map;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
/// id : "1730229003043733504"
|
||
|
/// createTime : "2023-11-30 22:15:15"
|
||
|
/// createUser : "0"
|
||
|
/// updateTime : "2023-11-30 22:15:15"
|
||
|
/// updateUser : "0"
|
||
|
/// mid : null
|
||
|
/// openid : "otrgp5C7qpd-V2AHosRZOnN4NoEM"
|
||
|
/// nickname : ""
|
||
|
/// headimg : ""
|
||
|
/// balance : "0.00"
|
||
|
/// money : "0"
|
||
|
/// realRecharge : "0.00"
|
||
|
/// giftRecharge : "0.00"
|
||
|
/// sex : "0"
|
||
|
/// status : true
|
||
|
/// loginTime : "2023-11-30 22:15:15"
|
||
|
/// loginNum : 1
|
||
|
/// tenantCode : "1195"
|
||
|
/// phone : ""
|
||
|
/// source : 0
|
||
|
/// expendAmount : "0.00"
|
||
|
/// buyTimes : 0
|
||
|
/// lastBuyTime : null
|
||
|
/// onCredit : false
|
||
|
|
||
|
class Records {
|
||
|
Records({
|
||
|
String id,
|
||
|
String createTime,
|
||
|
String createUser,
|
||
|
String updateTime,
|
||
|
String updateUser,
|
||
|
dynamic mid,
|
||
|
String openid,
|
||
|
String nickname,
|
||
|
String headimg,
|
||
|
String balance,
|
||
|
String money,
|
||
|
String realRecharge,
|
||
|
String giftRecharge,
|
||
|
String sex,
|
||
|
bool status,
|
||
|
String loginTime,
|
||
|
num loginNum,
|
||
|
String tenantCode,
|
||
|
String phone,
|
||
|
num source,
|
||
|
String expendAmount,
|
||
|
num buyTimes,
|
||
|
dynamic lastBuyTime,
|
||
|
bool onCredit,}){
|
||
|
_id = id;
|
||
|
_createTime = createTime;
|
||
|
_createUser = createUser;
|
||
|
_updateTime = updateTime;
|
||
|
_updateUser = updateUser;
|
||
|
_mid = mid;
|
||
|
_openid = openid;
|
||
|
_nickname = nickname;
|
||
|
_headimg = headimg;
|
||
|
_balance = balance;
|
||
|
_money = money;
|
||
|
_realRecharge = realRecharge;
|
||
|
_giftRecharge = giftRecharge;
|
||
|
_sex = sex;
|
||
|
_status = status;
|
||
|
_loginTime = loginTime;
|
||
|
_loginNum = loginNum;
|
||
|
_tenantCode = tenantCode;
|
||
|
_phone = phone;
|
||
|
_source = source;
|
||
|
_expendAmount = expendAmount;
|
||
|
_buyTimes = buyTimes;
|
||
|
_lastBuyTime = lastBuyTime;
|
||
|
_onCredit = onCredit;
|
||
|
}
|
||
|
|
||
|
Records.fromJson(dynamic json) {
|
||
|
_id = json['id'];
|
||
|
_createTime = json['createTime'];
|
||
|
_createUser = json['createUser'];
|
||
|
_updateTime = json['updateTime'];
|
||
|
_updateUser = json['updateUser'];
|
||
|
_mid = json['mid'];
|
||
|
_openid = json['openid'];
|
||
|
_nickname = json['nickname'];
|
||
|
_headimg = json['headimg'];
|
||
|
_balance = json['balance'];
|
||
|
_money = json['money'];
|
||
|
_realRecharge = json['realRecharge'];
|
||
|
_giftRecharge = json['giftRecharge'];
|
||
|
_sex = json['sex'];
|
||
|
_status = json['status'];
|
||
|
_loginTime = json['loginTime'];
|
||
|
_loginNum = json['loginNum'];
|
||
|
_tenantCode = json['tenantCode'];
|
||
|
_phone = json['phone'];
|
||
|
_source = json['source'];
|
||
|
_expendAmount = json['expendAmount'];
|
||
|
_buyTimes = json['buyTimes'];
|
||
|
_lastBuyTime = json['lastBuyTime'];
|
||
|
_onCredit = json['onCredit'];
|
||
|
}
|
||
|
String _id;
|
||
|
String _createTime;
|
||
|
String _createUser;
|
||
|
String _updateTime;
|
||
|
String _updateUser;
|
||
|
dynamic _mid;
|
||
|
String _openid;
|
||
|
String _nickname;
|
||
|
String _headimg;
|
||
|
String _balance;
|
||
|
String _money;
|
||
|
String _realRecharge;
|
||
|
String _giftRecharge;
|
||
|
String _sex;
|
||
|
bool _status;
|
||
|
String _loginTime;
|
||
|
num _loginNum;
|
||
|
String _tenantCode;
|
||
|
String _phone;
|
||
|
num _source;
|
||
|
String _expendAmount;
|
||
|
num _buyTimes;
|
||
|
dynamic _lastBuyTime;
|
||
|
bool _onCredit;
|
||
|
Records copyWith({ String id,
|
||
|
String createTime,
|
||
|
String createUser,
|
||
|
String updateTime,
|
||
|
String updateUser,
|
||
|
dynamic mid,
|
||
|
String openid,
|
||
|
String nickname,
|
||
|
String headimg,
|
||
|
String balance,
|
||
|
String money,
|
||
|
String realRecharge,
|
||
|
String giftRecharge,
|
||
|
String sex,
|
||
|
bool status,
|
||
|
String loginTime,
|
||
|
num loginNum,
|
||
|
String tenantCode,
|
||
|
String phone,
|
||
|
num source,
|
||
|
String expendAmount,
|
||
|
num buyTimes,
|
||
|
dynamic lastBuyTime,
|
||
|
bool onCredit,
|
||
|
}) => Records( id: id ?? _id,
|
||
|
createTime: createTime ?? _createTime,
|
||
|
createUser: createUser ?? _createUser,
|
||
|
updateTime: updateTime ?? _updateTime,
|
||
|
updateUser: updateUser ?? _updateUser,
|
||
|
mid: mid ?? _mid,
|
||
|
openid: openid ?? _openid,
|
||
|
nickname: nickname ?? _nickname,
|
||
|
headimg: headimg ?? _headimg,
|
||
|
balance: balance ?? _balance,
|
||
|
money: money ?? _money,
|
||
|
realRecharge: realRecharge ?? _realRecharge,
|
||
|
giftRecharge: giftRecharge ?? _giftRecharge,
|
||
|
sex: sex ?? _sex,
|
||
|
status: status ?? _status,
|
||
|
loginTime: loginTime ?? _loginTime,
|
||
|
loginNum: loginNum ?? _loginNum,
|
||
|
tenantCode: tenantCode ?? _tenantCode,
|
||
|
phone: phone ?? _phone,
|
||
|
source: source ?? _source,
|
||
|
expendAmount: expendAmount ?? _expendAmount,
|
||
|
buyTimes: buyTimes ?? _buyTimes,
|
||
|
lastBuyTime: lastBuyTime ?? _lastBuyTime,
|
||
|
onCredit: onCredit ?? _onCredit,
|
||
|
);
|
||
|
String get id => _id;
|
||
|
String get createTime => _createTime;
|
||
|
String get createUser => _createUser;
|
||
|
String get updateTime => _updateTime;
|
||
|
String get updateUser => _updateUser;
|
||
|
dynamic get mid => _mid;
|
||
|
String get openid => _openid;
|
||
|
String get nickname => _nickname;
|
||
|
String get headimg => _headimg;
|
||
|
String get balance => _balance;
|
||
|
String get money => _money;
|
||
|
String get realRecharge => _realRecharge;
|
||
|
String get giftRecharge => _giftRecharge;
|
||
|
String get sex => _sex;
|
||
|
bool get status => _status;
|
||
|
String get loginTime => _loginTime;
|
||
|
num get loginNum => _loginNum;
|
||
|
String get tenantCode => _tenantCode;
|
||
|
String get phone => _phone;
|
||
|
num get source => _source;
|
||
|
String get expendAmount => _expendAmount;
|
||
|
num get buyTimes => _buyTimes;
|
||
|
dynamic get lastBuyTime => _lastBuyTime;
|
||
|
bool get onCredit => _onCredit;
|
||
|
bool _isShow = false;
|
||
|
|
||
|
bool get isShow => _isShow;
|
||
|
|
||
|
set isShow(bool value) {
|
||
|
_isShow = value;
|
||
|
}
|
||
|
|
||
|
Map<String, dynamic> toJson() {
|
||
|
final map = <String, dynamic>{};
|
||
|
map['id'] = _id;
|
||
|
map['createTime'] = _createTime;
|
||
|
map['createUser'] = _createUser;
|
||
|
map['updateTime'] = _updateTime;
|
||
|
map['updateUser'] = _updateUser;
|
||
|
map['mid'] = _mid;
|
||
|
map['openid'] = _openid;
|
||
|
map['nickname'] = _nickname;
|
||
|
map['headimg'] = _headimg;
|
||
|
map['balance'] = _balance;
|
||
|
map['money'] = _money;
|
||
|
map['realRecharge'] = _realRecharge;
|
||
|
map['giftRecharge'] = _giftRecharge;
|
||
|
map['sex'] = _sex;
|
||
|
map['status'] = _status;
|
||
|
map['loginTime'] = _loginTime;
|
||
|
map['loginNum'] = _loginNum;
|
||
|
map['tenantCode'] = _tenantCode;
|
||
|
map['phone'] = _phone;
|
||
|
map['source'] = _source;
|
||
|
map['expendAmount'] = _expendAmount;
|
||
|
map['buyTimes'] = _buyTimes;
|
||
|
map['lastBuyTime'] = _lastBuyTime;
|
||
|
map['onCredit'] = _onCredit;
|
||
|
return map;
|
||
|
}
|
||
|
|
||
|
}
|