feat:更新菜谱表单
This commit is contained in:
@@ -5,11 +5,13 @@ part 'recipe.g.dart';
|
||||
/// 食材信息
|
||||
@JsonSerializable()
|
||||
class RecipeMaterial {
|
||||
int id;
|
||||
String type;
|
||||
String name;
|
||||
String amount;
|
||||
|
||||
RecipeMaterial({
|
||||
required this.id,
|
||||
required this.type,
|
||||
required this.name,
|
||||
required this.amount,
|
||||
@@ -24,11 +26,13 @@ class RecipeMaterial {
|
||||
/// 步骤信息
|
||||
@JsonSerializable()
|
||||
class RecipeStep {
|
||||
int id;
|
||||
int sort;
|
||||
String content;
|
||||
String imageUrl;
|
||||
|
||||
RecipeStep({
|
||||
required this.id,
|
||||
required this.sort,
|
||||
required this.content,
|
||||
required this.imageUrl,
|
||||
|
||||
Reference in New Issue
Block a user