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.
180 lines
3.8 KiB
180 lines
3.8 KiB
3 years ago
|
/// id : "5"
|
||
|
/// createTime : "2021-11-18 14:11:34"
|
||
|
/// createUser : "1"
|
||
|
/// updateTime : "2021-11-18 17:10:24"
|
||
|
/// 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 : "可绑定副卡"
|
||
|
/// describes : "可绑定副卡"
|
||
|
/// actived : true
|
||
|
/// sort : 4
|
||
|
/// isDelete : 0
|
||
|
/// have : false
|
||
|
|
||
|
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,}){
|
||
|
_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;
|
||
|
}
|
||
|
|
||
|
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'];
|
||
|
}
|
||
|
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 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;
|
||
|
|
||
|
|
||
|
set id(String value) {
|
||
|
_id = value;
|
||
|
}
|
||
|
|
||
|
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;
|
||
|
return map;
|
||
|
}
|
||
|
|
||
|
set createTime(String value) {
|
||
|
_createTime = value;
|
||
|
}
|
||
|
|
||
|
set createUser(String value) {
|
||
|
_createUser = value;
|
||
|
}
|
||
|
|
||
|
set updateTime(String value) {
|
||
|
_updateTime = value;
|
||
|
}
|
||
|
|
||
|
set updateUser(String value) {
|
||
|
_updateUser = value;
|
||
|
}
|
||
|
|
||
|
set code(String value) {
|
||
|
_code = value;
|
||
|
}
|
||
|
|
||
|
set name(String value) {
|
||
|
_name = value;
|
||
|
}
|
||
|
|
||
|
set icon(String value) {
|
||
|
_icon = value;
|
||
|
}
|
||
|
|
||
|
set iconGrey(String value) {
|
||
|
_iconGrey = value;
|
||
|
}
|
||
|
|
||
|
set introduce(String value) {
|
||
|
_introduce = value;
|
||
|
}
|
||
|
|
||
|
set describes(String value) {
|
||
|
_describes = value;
|
||
|
}
|
||
|
|
||
|
set actived(bool value) {
|
||
|
_actived = value;
|
||
|
}
|
||
|
|
||
|
set sort(int value) {
|
||
|
_sort = value;
|
||
|
}
|
||
|
|
||
|
set isDelete(int value) {
|
||
|
_isDelete = value;
|
||
|
}
|
||
|
|
||
|
set have(bool value) {
|
||
|
_have = value;
|
||
|
}
|
||
|
}
|