static Category? fromCategoryId(int id) => Category.values.firstWhereOrNull((e) => e.categoryId == id);