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.
 
 
 
 
 
 

127 lines
3.8 KiB

/// id : "5"
/// createTime : "2021-11-18 14:11:34"
/// createUser : "1"
/// updateTime : "2021-11-24 14:37:30"
/// updateUser : "1"
/// code : "DEPUTY"
/// name : "副卡"
/// icon : "https://pos.upload.gznl.top/MDAwMA==/2021/11/fb1e46d2-6213-4164-abbc-9aa24da24faf.png"
/// iconGrey : "https://pos.upload.gznl.top/MDAwMA==/2021/11/f50d211a-3d52-4663-bf8a-c4dff4f79310.png"
/// introduce : "<p>用户在成为金卡会员/共创会员之后, 即可经行副卡绑定。点击添加新副卡,输入需要绑定的用户手机号,输入需要绑定用户的手机号,输入验证码,验证通过后,即可绑定成功。点击头像右下方的解除,出现提示弹窗,点击确认即可解除绑定。</p>"
/// describes : "<ul>\n<li>副卡用户必须为平台注册用户</li>\n<li>每位主卡用户只可绑定5位副卡用户,同时,只能解绑3次</li>\n<li>副卡享受主卡的部分权益,主卡会员失效之后,副卡也失效</li>\n<li>副卡成为金卡会员后,自动与主卡解绑</li>\n</ul>"
/// actived : false
/// sort : 4
/// isDelete : 0
/// have : true
/// config : "5"
class VipBenefitList {
VipBenefitList({
String id,
String createTime,
String createUser,
String updateTime,
String updateUser,
String code,
String name,
String icon,
String iconGrey,
String introduce,
String describes,
bool actived,
int sort,
int isDelete,
bool have,
String config,}){
_id = id;
_createTime = createTime;
_createUser = createUser;
_updateTime = updateTime;
_updateUser = updateUser;
_code = code;
_name = name;
_icon = icon;
_iconGrey = iconGrey;
_introduce = introduce;
_describes = describes;
_actived = actived;
_sort = sort;
_isDelete = isDelete;
_have = have;
_config = config;
}
VipBenefitList.fromJson(dynamic json) {
_id = json['id'];
_createTime = json['createTime'];
_createUser = json['createUser'];
_updateTime = json['updateTime'];
_updateUser = json['updateUser'];
_code = json['code'];
_name = json['name'];
_icon = json['icon'];
_iconGrey = json['iconGrey'];
_introduce = json['introduce'];
_describes = json['describes'];
_actived = json['actived'];
_sort = json['sort'];
_isDelete = json['isDelete'];
_have = json['have'];
_config = json['config'];
}
String _id;
String _createTime;
String _createUser;
String _updateTime;
String _updateUser;
String _code;
String _name;
String _icon;
String _iconGrey;
String _introduce;
String _describes;
bool _actived;
int _sort;
int _isDelete;
bool _have;
String _config;
String get id => _id;
String get createTime => _createTime;
String get createUser => _createUser;
String get updateTime => _updateTime;
String get updateUser => _updateUser;
String get code => _code;
String get name => _name;
String get icon => _icon;
String get iconGrey => _iconGrey;
String get introduce => _introduce;
String get describes => _describes;
bool get actived => _actived;
int get sort => _sort;
int get isDelete => _isDelete;
bool get have => _have;
String get config => _config;
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
map['id'] = _id;
map['createTime'] = _createTime;
map['createUser'] = _createUser;
map['updateTime'] = _updateTime;
map['updateUser'] = _updateUser;
map['code'] = _code;
map['name'] = _name;
map['icon'] = _icon;
map['iconGrey'] = _iconGrey;
map['introduce'] = _introduce;
map['describes'] = _describes;
map['actived'] = _actived;
map['sort'] = _sort;
map['isDelete'] = _isDelete;
map['have'] = _have;
map['config'] = _config;
return map;
}
}