travebing/backend/api/v1/travel_plan.go

14 lines
361 B
Go

package v1
/*
*/
type TravelPlan struct {
ID int `json:"id" gorm:"autoIncrement;primaryKey"`
Name string `json:"name" gorm:"type:varchar(32)"`
LeaveFrom string `json:"leave" gorm:"type:varchar(64)"`
ArriveTo string `json:"arrive" gorm:"type:varchar(64)"`
CreatedAt int64 `json:"created_at"`
UpdatedAt int64 `json:"updated_at"`
}