/// id : "1454326699855446016" /// createTime : "2021-10-30 13:58:00" /// createUser : "1" /// updateTime : "2021-10-30 13:58:00" /// updateUser : "1" /// name : "111" /// sort : 0 /// enabled : true /// isDelete : 0 class CollectClassList { CollectClassList({ String id, String createTime, String createUser, String updateTime, String updateUser, String name, int sort, bool enabled, int isDelete,}){ _id = id; _createTime = createTime; _createUser = createUser; _updateTime = updateTime; _updateUser = updateUser; _name = name; _sort = sort; _enabled = enabled; _isDelete = isDelete; } CollectClassList.fromJson(dynamic json) { _id = json['id']; _createTime = json['createTime']; _createUser = json['createUser']; _updateTime = json['updateTime']; _updateUser = json['updateUser']; _name = json['name']; _sort = json['sort']; _enabled = json['enabled']; _isDelete = json['isDelete']; } String _id; String _createTime; String _createUser; String _updateTime; String _updateUser; String _name; int _sort; bool _enabled; 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 sort => _sort; bool get enabled => _enabled; 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['sort'] = _sort; map['enabled'] = _enabled; 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 sort(int value) { _sort = value; } set enabled(bool value) { _enabled = value; } set isDelete(int value) { _isDelete = value; } }