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.

132 lines
3.4 KiB

/// mid : "1379254113602109440"
/// sid : "1706504181134655488"
/// phoneNum : "13052919193"
/// nickName : ""
/// headimg : ""
/// sex : "0"
/// balance : "0.00"
/// memberSourceCredit : false
/// money : "1.49"
/// memberCredit : false
/// greenMoney : "0.00"
/// raiseMoney : "0.00"
/// payPassword : "222222"
class PhoneQueryMemberInfo {
PhoneQueryMemberInfo({
String mid,
String sid,
String phoneNum,
String nickName,
String headimg,
String sex,
String balance,
bool memberSourceCredit,
String money,
bool memberCredit,
String greenMoney,
String raiseMoney,
String payPassword,}){
_mid = mid;
_sid = sid;
_phoneNum = phoneNum;
_nickName = nickName;
_headimg = headimg;
_sex = sex;
_balance = balance;
_memberSourceCredit = memberSourceCredit;
_money = money;
_memberCredit = memberCredit;
_greenMoney = greenMoney;
_raiseMoney = raiseMoney;
_payPassword = payPassword;
}
PhoneQueryMemberInfo.fromJson(dynamic json) {
_mid = json['mid'];
_sid = json['sid'];
_phoneNum = json['phoneNum'];
_nickName = json['nickName'];
_headimg = json['headimg'];
_sex = json['sex'];
_balance = json['balance'];
_memberSourceCredit = json['memberSourceCredit'];
_money = json['money'];
_memberCredit = json['memberCredit'];
_greenMoney = json['greenMoney'];
_raiseMoney = json['raiseMoney'];
_payPassword = json['payPassword'];
}
String _mid;
String _sid;
String _phoneNum;
String _nickName;
String _headimg;
String _sex;
String _balance;
bool _memberSourceCredit;
String _money;
bool _memberCredit;
String _greenMoney;
String _raiseMoney;
String _payPassword;
PhoneQueryMemberInfo copyWith({ String mid,
String sid,
String phoneNum,
String nickName,
String headimg,
String sex,
String balance,
bool memberSourceCredit,
String money,
bool memberCredit,
String greenMoney,
String raiseMoney,
String payPassword,
}) => PhoneQueryMemberInfo( mid: mid ?? _mid,
sid: sid ?? _sid,
phoneNum: phoneNum ?? _phoneNum,
nickName: nickName ?? _nickName,
headimg: headimg ?? _headimg,
sex: sex ?? _sex,
balance: balance ?? _balance,
memberSourceCredit: memberSourceCredit ?? _memberSourceCredit,
money: money ?? _money,
memberCredit: memberCredit ?? _memberCredit,
greenMoney: greenMoney ?? _greenMoney,
raiseMoney: raiseMoney ?? _raiseMoney,
payPassword: payPassword ?? _payPassword,
);
String get mid => _mid;
String get sid => _sid;
String get phoneNum => _phoneNum;
String get nickName => _nickName;
String get headimg => _headimg;
String get sex => _sex;
String get balance => _balance;
bool get memberSourceCredit => _memberSourceCredit;
String get money => _money;
bool get memberCredit => _memberCredit;
String get greenMoney => _greenMoney;
String get raiseMoney => _raiseMoney;
String get payPassword => _payPassword;
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
map['mid'] = _mid;
map['sid'] = _sid;
map['phoneNum'] = _phoneNum;
map['nickName'] = _nickName;
map['headimg'] = _headimg;
map['sex'] = _sex;
map['balance'] = _balance;
map['memberSourceCredit'] = _memberSourceCredit;
map['money'] = _money;
map['memberCredit'] = _memberCredit;
map['greenMoney'] = _greenMoney;
map['raiseMoney'] = _raiseMoney;
map['payPassword'] = _payPassword;
return map;
}
}