diff --git a/api/models/recipe.go b/api/models/recipe.go new file mode 100644 index 0000000..9f98366 --- /dev/null +++ b/api/models/recipe.go @@ -0,0 +1,12 @@ +package models + +import "time" + +type RecipeModel struct { + Id int32 + Title string + Thumbnail string + Content string + CreatedAt time.Time + LastUpdated time.Time +} diff --git a/api/models/users.go b/api/models/users.go index e47dc2b..14560ca 100644 --- a/api/models/users.go +++ b/api/models/users.go @@ -9,3 +9,7 @@ type UserModel struct { CreatedAt time.Time LastUpdated time.Time } + +type UserDto struct { + +}