Initial commit
This commit is contained in:
11
backend/models/dto/food.go
Normal file
11
backend/models/dto/food.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package dto
|
||||
|
||||
type NewFoodItemDTO struct {
|
||||
Title string `json:"title" binding:"required"`
|
||||
Description string `json:"description" binding:"required"`
|
||||
}
|
||||
|
||||
type FoodItemDTO struct {
|
||||
Title string `json:"title"`
|
||||
Description string `json:"description"`
|
||||
}
|
||||
Reference in New Issue
Block a user