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.

198 lines
5.1 KiB

4 years ago
/// id : "1412687522458238976"
/// createTime : "2021-07-07 16:18:46"
/// createUser : "1405494095400402944"
/// updateTime : "2021-07-07 16:18:46"
/// updateUser : "1405494095400402944"
/// mid : "1405494095400402944"
/// openid : ""
/// nickname : ""
/// headimg : ""
/// balance : "1780.00"
/// realRecharge : "988.89"
/// sex : "0"
/// status : true
/// onCredit : false
/// loginTime : "2021-07-20 17:28:57"
/// loginNum : 30
/// tenantCode : "1177"
/// source : 1
/// expendAmount : "20.00"
/// buyTimes : 1
/// lastBuyTime : "2021-07-20 16:15:02"
/// vip_no : null
/// expireTime : null
/// integral : 0
/// level : 1
/// vipRegStore : null
class MemberSource {
String _id;
String _createTime;
String _createUser;
String _updateTime;
String _updateUser;
String _mid;
String _openid;
String _nickname;
String _headimg;
String _balance;
String _realRecharge;
String _sex;
bool _status;
bool _onCredit;
String _loginTime;
int _loginNum;
String _tenantCode;
int _source;
String _expendAmount;
int _buyTimes;
String _lastBuyTime;
dynamic _vipNo;
dynamic _expireTime;
int _integral;
int _level;
dynamic _vipRegStore;
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 openid => _openid;
String get nickname => _nickname;
String get headimg => _headimg;
String get balance => _balance;
String get realRecharge => _realRecharge;
String get sex => _sex;
bool get status => _status;
bool get onCredit => _onCredit;
String get loginTime => _loginTime;
int get loginNum => _loginNum;
String get tenantCode => _tenantCode;
int get source => _source;
String get expendAmount => _expendAmount;
int get buyTimes => _buyTimes;
String get lastBuyTime => _lastBuyTime;
dynamic get vipNo => _vipNo;
dynamic get expireTime => _expireTime;
int get integral => _integral;
int get level => _level;
dynamic get vipRegStore => _vipRegStore;
MemberSource({
String id,
String createTime,
String createUser,
String updateTime,
String updateUser,
String mid,
String openid,
String nickname,
String headimg,
String balance,
String realRecharge,
String sex,
bool status,
bool onCredit,
String loginTime,
int loginNum,
String tenantCode,
int source,
String expendAmount,
int buyTimes,
String lastBuyTime,
dynamic vipNo,
dynamic expireTime,
int integral,
int level,
dynamic vipRegStore}){
_id = id;
_createTime = createTime;
_createUser = createUser;
_updateTime = updateTime;
_updateUser = updateUser;
_mid = mid;
_openid = openid;
_nickname = nickname;
_headimg = headimg;
_balance = balance;
_realRecharge = realRecharge;
_sex = sex;
_status = status;
_onCredit = onCredit;
_loginTime = loginTime;
_loginNum = loginNum;
_tenantCode = tenantCode;
_source = source;
_expendAmount = expendAmount;
_buyTimes = buyTimes;
_lastBuyTime = lastBuyTime;
_vipNo = vipNo;
_expireTime = expireTime;
_integral = integral;
_level = level;
_vipRegStore = vipRegStore;
}
MemberSource.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"];
_realRecharge = json["realRecharge"];
_sex = json["sex"];
_status = json["status"];
_onCredit = json["onCredit"];
_loginTime = json["loginTime"];
_loginNum = json["loginNum"];
_tenantCode = json["tenantCode"];
_source = json["source"];
_expendAmount = json["expendAmount"];
_buyTimes = json["buyTimes"];
_lastBuyTime = json["lastBuyTime"];
_vipNo = json["vip_no"];
_expireTime = json["expireTime"];
_integral = json["integral"];
_level = json["level"];
_vipRegStore = json["vipRegStore"];
}
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["openid"] = _openid;
map["nickname"] = _nickname;
map["headimg"] = _headimg;
map["balance"] = _balance;
map["realRecharge"] = _realRecharge;
map["sex"] = _sex;
map["status"] = _status;
map["onCredit"] = _onCredit;
map["loginTime"] = _loginTime;
map["loginNum"] = _loginNum;
map["tenantCode"] = _tenantCode;
map["source"] = _source;
map["expendAmount"] = _expendAmount;
map["buyTimes"] = _buyTimes;
map["lastBuyTime"] = _lastBuyTime;
map["vip_no"] = _vipNo;
map["expireTime"] = _expireTime;
map["integral"] = _integral;
map["level"] = _level;
map["vipRegStore"] = _vipRegStore;
return map;
}
}