go-cook/api/domain/entities.go

22 lines
336 B
Go
Raw Normal View History

2024-03-31 17:46:04 -07:00
package domain
import "time"
type UserEntity struct {
Id int
CreatedAt time.Time
LastUpdated time.Time
Name string
Hash string
Scopes string
}
type RecipeEntity struct {
Id int32
CreatedAt time.Time
LastUpdated time.Time
Title string
Thumbnail string
Content string
}