/// id : "1460164746211753984" /// createTime : "2021-11-15 16:36:19" /// createUser : "1" /// updateTime : "2021-11-17 11:39:54" /// updateUser : "1" /// name : "签到" /// eachReward : 8 /// code : "SIGN" /// icon : "https://pos.upload.gznl.top/admin/2021/11/93853f8d-ca0e-4c75-855b-d6245e4f6743.jpg" /// actived : true /// sort : 0 /// isDelete : 0 class VipBadgesList { VipBadgesList({ String id, String createTime, String createUser, String updateTime, String updateUser, String name, int eachReward, String code, String icon, bool actived, int sort, int isDelete,}){ _id = id; _createTime = createTime; _createUser = createUser; _updateTime = updateTime; _updateUser = updateUser; _name = name; _eachReward = eachReward; _code = code; _icon = icon; _actived = actived; _sort = sort; _isDelete = isDelete; } VipBadgesList.fromJson(dynamic json) { _id = json['id']; _createTime = json['createTime']; _createUser = json['createUser']; _updateTime = json['updateTime']; _updateUser = json['updateUser']; _name = json['name']; _eachReward = json['eachReward']; _code = json['code']; _icon = json['icon']; _actived = json['actived']; _sort = json['sort']; _isDelete = json['isDelete']; } String _id; String _createTime; String _createUser; String _updateTime; String _updateUser; String _name; int _eachReward; String _code; String _icon; bool _actived; int _sort; int _isDelete; String get id => _id; String get createTime => _createTime; String get createUser => _createUser; String get updateTime => _updateTime; String get updateUser => _updateUser; String get name => _name; int get eachReward => _eachReward; String get code => _code; String get icon => _icon; bool get actived => _actived; int get sort => _sort; int get isDelete => _isDelete; set id(String value) { _id = value; } Map toJson() { final map = {}; map['id'] = _id; map['createTime'] = _createTime; map['createUser'] = _createUser; map['updateTime'] = _updateTime; map['updateUser'] = _updateUser; map['name'] = _name; map['eachReward'] = _eachReward; map['code'] = _code; map['icon'] = _icon; map['actived'] = _actived; map['sort'] = _sort; map['isDelete'] = _isDelete; 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 name(String value) { _name = value; } set eachReward(int value) { _eachReward = value; } set code(String value) { _code = value; } set icon(String value) { _icon = value; } set actived(bool value) { _actived = value; } set sort(int value) { _sort = value; } set isDelete(int value) { _isDelete = value; } }