feat:更新记录页面模块
This commit is contained in:
21
lib/models/recipe.dart
Normal file
21
lib/models/recipe.dart
Normal file
@@ -0,0 +1,21 @@
|
||||
class Recipe {
|
||||
final String name;
|
||||
final String category;
|
||||
final String date;
|
||||
final String imageUrl;
|
||||
final int likeCount;
|
||||
final int favoriteCount;
|
||||
final int commentCount;
|
||||
|
||||
Recipe(
|
||||
this.name,
|
||||
this.category,
|
||||
this.date,
|
||||
this.imageUrl,
|
||||
this.likeCount,
|
||||
this.favoriteCount,
|
||||
this.commentCount,
|
||||
);
|
||||
}
|
||||
|
||||
enum ViewType { recipe, calendar, timeline }
|
||||
Reference in New Issue
Block a user