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.
51 lines
1.2 KiB
51 lines
1.2 KiB
10 months ago
|
import 'package:huixiang/data/store.dart';
|
||
|
import 'package:huixiang/generated/json/base/json_field.dart';
|
||
|
import 'package:huixiang/generated/json/vip_card.g.dart';
|
||
|
import 'dart:convert';
|
||
|
export 'package:huixiang/generated/json/vip_card.g.dart';
|
||
|
|
||
|
@JsonSerializable()
|
||
|
class VipCard {
|
||
|
String? id = '';
|
||
|
String? createTime = '';
|
||
|
dynamic createUser;
|
||
|
String? updateTime = '';
|
||
|
String? updateUser = '';
|
||
|
String? mid = '';
|
||
|
String? openid = '';
|
||
|
String? nickname = '';
|
||
|
String? headimg = '';
|
||
|
String? balance = '';
|
||
|
String? realRecharge = '';
|
||
|
String? sex = '';
|
||
|
bool? status = false;
|
||
|
bool? onCredit = false;
|
||
|
String? loginTime = '';
|
||
|
int? loginNum = 0;
|
||
|
String? tenantCode = '';
|
||
|
int? source = 0;
|
||
|
String? expendAmount = '';
|
||
|
int? buyTimes = 0;
|
||
|
dynamic lastBuyTime;
|
||
|
@JSONField(name: "vip_no")
|
||
|
dynamic vipNo;
|
||
|
dynamic expireTime;
|
||
|
int? integral = 0;
|
||
|
int? level = 0;
|
||
|
dynamic vipRegStore;
|
||
|
String? tenantName = '';
|
||
|
String? tenantLogo = '';
|
||
|
List<Store>? storeList = [];
|
||
|
|
||
|
VipCard();
|
||
|
|
||
|
factory VipCard.fromJson(Map<String, dynamic> json) => $VipCardFromJson(json);
|
||
|
|
||
|
Map<String, dynamic> toJson() => $VipCardToJson(this);
|
||
|
|
||
|
@override
|
||
|
String toString() {
|
||
|
return jsonEncode(this);
|
||
|
}
|
||
|
}
|