Initial cloud-services repo - gateway service + pkg modules
This commit is contained in:
16
pkg/common/swversion_rxswin.go
Normal file
16
pkg/common/swversion_rxswin.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package common
|
||||
|
||||
import (
|
||||
"fiskerinc.com/modules/common/dbbasemodel"
|
||||
)
|
||||
|
||||
type SwVersionRxSwin struct {
|
||||
tableName struct{} `pg:"swversion_rxswin,discard_unknown_columns"`
|
||||
Version string `json:"version" pg:"version,pk"`
|
||||
RxSwin string `json:"rxswin" pg:"rxswin,pk"`
|
||||
dbbasemodel.DBModelBase
|
||||
}
|
||||
|
||||
type SwVersionRxSwinCreate struct {
|
||||
SwVersionRxSwins []SwVersionRxSwin `json:"swversion_rxswins"`
|
||||
}
|
||||
Reference in New Issue
Block a user