|
|
|
/// id : "1681490552371019776"
|
|
|
|
/// rechargeMoney : "100.00"
|
|
|
|
/// giftdMoney : "10.00"
|
|
|
|
/// limitNum : 0
|
|
|
|
/// gitfdCouponId : null
|
|
|
|
/// startDate : null
|
|
|
|
/// endDate : null
|
|
|
|
/// startTime : null
|
|
|
|
/// endTime : null
|
|
|
|
/// tenantCode : "1175"
|
|
|
|
/// createTime : "2023-07-21 09:22:53"
|
|
|
|
/// isDeleted : 0
|
|
|
|
/// rechargeType : 0
|
|
|
|
/// remark : "充值100.00 赠送10.00"
|
|
|
|
/// sortValue : 0
|
|
|
|
/// useNum : 0
|
|
|
|
|
|
|
|
class MemberRechargeList {
|
|
|
|
MemberRechargeList({
|
|
|
|
String id,
|
|
|
|
String rechargeMoney,
|
|
|
|
String giftdMoney,
|
|
|
|
dynamic limitNum,
|
|
|
|
dynamic gitfdCouponId,
|
|
|
|
dynamic startDate,
|
|
|
|
dynamic endDate,
|
|
|
|
dynamic startTime,
|
|
|
|
dynamic endTime,
|
|
|
|
String tenantCode,
|
|
|
|
String createTime,
|
|
|
|
num isDeleted,
|
|
|
|
num rechargeType,
|
|
|
|
String remark,
|
|
|
|
num sortValue,
|
|
|
|
dynamic useNum,}){
|
|
|
|
_id = id;
|
|
|
|
_rechargeMoney = rechargeMoney;
|
|
|
|
_giftdMoney = giftdMoney;
|
|
|
|
_limitNum = limitNum;
|
|
|
|
_gitfdCouponId = gitfdCouponId;
|
|
|
|
_startDate = startDate;
|
|
|
|
_endDate = endDate;
|
|
|
|
_startTime = startTime;
|
|
|
|
_endTime = endTime;
|
|
|
|
_tenantCode = tenantCode;
|
|
|
|
_createTime = createTime;
|
|
|
|
_isDeleted = isDeleted;
|
|
|
|
_rechargeType = rechargeType;
|
|
|
|
_remark = remark;
|
|
|
|
_sortValue = sortValue;
|
|
|
|
_useNum = useNum;
|
|
|
|
}
|
|
|
|
|
|
|
|
MemberRechargeList.fromJson(dynamic json) {
|
|
|
|
_id = json['id'];
|
|
|
|
_rechargeMoney = json['rechargeMoney'];
|
|
|
|
_giftdMoney = json['giftdMoney'];
|
|
|
|
_limitNum = json['limitNum'];
|
|
|
|
_gitfdCouponId = json['gitfdCouponId'];
|
|
|
|
_startDate = json['startDate'];
|
|
|
|
_endDate = json['endDate'];
|
|
|
|
_startTime = json['startTime'];
|
|
|
|
_endTime = json['endTime'];
|
|
|
|
_tenantCode = json['tenantCode'];
|
|
|
|
_createTime = json['createTime'];
|
|
|
|
_isDeleted = json['isDeleted'];
|
|
|
|
_rechargeType = json['rechargeType'];
|
|
|
|
_remark = json['remark'];
|
|
|
|
_sortValue = json['sortValue'];
|
|
|
|
_useNum = json['useNum'];
|
|
|
|
}
|
|
|
|
String _id;
|
|
|
|
String _rechargeMoney;
|
|
|
|
String _giftdMoney;
|
|
|
|
dynamic _limitNum;
|
|
|
|
dynamic _gitfdCouponId;
|
|
|
|
dynamic _startDate;
|
|
|
|
dynamic _endDate;
|
|
|
|
dynamic _startTime;
|
|
|
|
dynamic _endTime;
|
|
|
|
String _tenantCode;
|
|
|
|
String _createTime;
|
|
|
|
num _isDeleted;
|
|
|
|
num _rechargeType;
|
|
|
|
String _remark;
|
|
|
|
num _sortValue;
|
|
|
|
dynamic _useNum;
|
|
|
|
MemberRechargeList copyWith({ String id,
|
|
|
|
String rechargeMoney,
|
|
|
|
String giftdMoney,
|
|
|
|
dynamic limitNum,
|
|
|
|
dynamic gitfdCouponId,
|
|
|
|
dynamic startDate,
|
|
|
|
dynamic endDate,
|
|
|
|
dynamic startTime,
|
|
|
|
dynamic endTime,
|
|
|
|
String tenantCode,
|
|
|
|
String createTime,
|
|
|
|
num isDeleted,
|
|
|
|
num rechargeType,
|
|
|
|
String remark,
|
|
|
|
num sortValue,
|
|
|
|
dynamic useNum,
|
|
|
|
}) => MemberRechargeList( id: id ?? _id,
|
|
|
|
rechargeMoney: rechargeMoney ?? _rechargeMoney,
|
|
|
|
giftdMoney: giftdMoney ?? _giftdMoney,
|
|
|
|
limitNum: limitNum ?? _limitNum,
|
|
|
|
gitfdCouponId: gitfdCouponId ?? _gitfdCouponId,
|
|
|
|
startDate: startDate ?? _startDate,
|
|
|
|
endDate: endDate ?? _endDate,
|
|
|
|
startTime: startTime ?? _startTime,
|
|
|
|
endTime: endTime ?? _endTime,
|
|
|
|
tenantCode: tenantCode ?? _tenantCode,
|
|
|
|
createTime: createTime ?? _createTime,
|
|
|
|
isDeleted: isDeleted ?? _isDeleted,
|
|
|
|
rechargeType: rechargeType ?? _rechargeType,
|
|
|
|
remark: remark ?? _remark,
|
|
|
|
sortValue: sortValue ?? _sortValue,
|
|
|
|
useNum: useNum ?? _useNum,
|
|
|
|
);
|
|
|
|
String get id => _id;
|
|
|
|
String get rechargeMoney => _rechargeMoney;
|
|
|
|
String get giftdMoney => _giftdMoney;
|
|
|
|
dynamic get limitNum => _limitNum;
|
|
|
|
dynamic get gitfdCouponId => _gitfdCouponId;
|
|
|
|
dynamic get startDate => _startDate;
|
|
|
|
dynamic get endDate => _endDate;
|
|
|
|
dynamic get startTime => _startTime;
|
|
|
|
dynamic get endTime => _endTime;
|
|
|
|
String get tenantCode => _tenantCode;
|
|
|
|
String get createTime => _createTime;
|
|
|
|
num get isDeleted => _isDeleted;
|
|
|
|
num get rechargeType => _rechargeType;
|
|
|
|
String get remark => _remark;
|
|
|
|
num get sortValue => _sortValue;
|
|
|
|
dynamic get useNum => _useNum;
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final map = <String, dynamic>{};
|
|
|
|
map['id'] = _id;
|
|
|
|
map['rechargeMoney'] = _rechargeMoney;
|
|
|
|
map['giftdMoney'] = _giftdMoney;
|
|
|
|
map['limitNum'] = _limitNum;
|
|
|
|
map['gitfdCouponId'] = _gitfdCouponId;
|
|
|
|
map['startDate'] = _startDate;
|
|
|
|
map['endDate'] = _endDate;
|
|
|
|
map['startTime'] = _startTime;
|
|
|
|
map['endTime'] = _endTime;
|
|
|
|
map['tenantCode'] = _tenantCode;
|
|
|
|
map['createTime'] = _createTime;
|
|
|
|
map['isDeleted'] = _isDeleted;
|
|
|
|
map['rechargeType'] = _rechargeType;
|
|
|
|
map['remark'] = _remark;
|
|
|
|
map['sortValue'] = _sortValue;
|
|
|
|
map['useNum'] = _useNum;
|
|
|
|
return map;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|