Documentation
¶
Index ¶
Constants ¶
View Source
const BUSLINE_SEQ = "BUSLINE_SEQ"
View Source
const BUSROUTE_SEQ = "BUSROUTE_SEQ"
View Source
const BUSSCHEDULEMASTERLINE = "BUSSCHEDULEMASTERLINE"
View Source
const BUSSTOP_SEQ = "BUSSTOP"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BusRoute ¶
type BusRoute struct {
Id int64 `json:"Id" gorm:"PrimaryKey"`
Route_code int32 `json:"RouteCode" gorm:"index:ROUTE_CODE_UN,unique"`
Line_code int32 `json:"LineCode" gorm:"index:LINE_CODE_INDX"`
Route_descr string `json:"RouteDescr"`
Route_descr_eng string `json:"RouteDescrEng"`
Route_type int8 `json:"RouteType"`
Route_distance float32 `json:"RouteDistance"`
}
type BusRouteStops ¶
type BusScheduleMasterLine ¶
type BusScheduleMasterLineDto ¶
type BusScheduleMasterLineDto struct {
Sdc_descr string `json: sdc_descr`
Sdc_descr_eng string `json: sdc_descr_eng`
Sdc_code int32 `json: sdc_code`
}
This is a model Describe Master Bus Line
type BusSheduleLine ¶
type BusStop ¶
type BusStop struct {
Id int64 `json:"Id" gorm:"primaryKey"`
Stop_code int64 `json:"StopCode" gorm:"index:STOP_CODE_UN,unique"`
Stop_id string `json:"StopID"`
Stop_descr string `json:"StopDescr"`
Stop_descr_eng string `json:"StopDescrEng"`
Stop_street string `json:"StopStreet"`
Stop_street_eng string `json:"StopStreetEng"`
Stop_heading int32 `json:"StopHeading"`
Stop_lat float64 `json:"StopLat"`
Stop_lng float64 `json:"StopLng"`
Stop_type int8 `json:"StopType"`
Stop_amea int8 `json:"StopAmea"`
}
type BusStopDto ¶
type BusStopDto struct {
Id int64 `json:"Id"`
Stop_code int64 `json:"StopCode"`
Stop_id string `json:"StopID"`
Stop_descr string `json:"StopDescr"`
Stop_descr_eng string `json:"StopDescrEng"`
Stop_street string `json:"StopStreet"`
Stop_street_eng string `json:"StopStreetEng"`
Stop_heading int32 `json:"StopHeading"`
Stop_lat float64 `json:"StopLat"`
Stop_lng float64 `json:"StopLng"`
Route_stop_order int16 `json:"RouteStopOrder"`
Stop_type int8 `json:"StopType"`
Stop_amea int8 `json:"StopAmea"`
}
type Busline ¶
type Busline struct {
Id int64 `gorm:"primaryKey"`
Ml_code int16 `json:"ml_code"`
Sdc_code int16 `json:"sdc_code"`
Line_code int32 `json:"line_code" validate:"required" gorm:"index:LINE_CODE,unique"`
Line_id string `json:"line_id"`
Line_descr string `json:"line_descr" validate:"required,min=2,max=5"`
Line_descr_eng string `json:"line_descr_eng" validate:"required,min=2,max=5"`
}
type StopDto ¶
type StopDto struct {
Stop_code int64 `json:"StopCode"`
Stop_id string `json:"StopID"`
Stop_descr string `json:"StopDescr"`
Stop_descr_eng string `json:"StopDescrEng"`
Stop_street string `json:"StopStreet"`
Stop_street_eng string `json:"StopStreetEng"`
Stop_heading int32 `json:"StopHeading"`
Stop_lat float64 `json:"StopLat"`
Stop_lng float64 `json:"StopLng"`
Senu int16 `json:"StopOrder"`
Stop_type int8 `json:"StopType"`
Stop_amea int8 `json:"StopAmea"`
}
Click to show internal directories.
Click to hide internal directories.