12345678910111213141516171819202122232425 |
- package models
- import (
- "database/sql"
- "time"
- )
- type Place struct {
- ID int
- Title string
- ParentID sql.NullInt64
- CreatedAt time.Time
- UpdatedAt time.Time
- }
- type AddPlaceRequest struct {
- Title string
- ParentID sql.NullInt64
- }
- type UpdatePlaceRequest struct {
- ID int
- Title string
- ParentID sql.NullInt64
- }
|