travebing/backend/api/v1/travel_plan.go

14 lines
361 B
Go
Raw Permalink Normal View History

2024-11-19 16:58:21 +08:00
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"`
}