add models generation and josn print
This commit is contained in:
24
app/model/prestadb/ps_connections_page.go
Normal file
24
app/model/prestadb/ps_connections_page.go
Normal file
@@ -0,0 +1,24 @@
|
||||
// Code generated by gorm.io/gen. DO NOT EDIT.
|
||||
// Code generated by gorm.io/gen. DO NOT EDIT.
|
||||
// Code generated by gorm.io/gen. DO NOT EDIT.
|
||||
|
||||
package prestadb
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
const TableNamePsConnectionsPage = "ps_connections_page"
|
||||
|
||||
// PsConnectionsPage mapped from table <ps_connections_page>
|
||||
type PsConnectionsPage struct {
|
||||
IDConnections int32 `gorm:"column:id_connections;primaryKey" json:"id_connections"`
|
||||
IDPage int32 `gorm:"column:id_page;primaryKey" json:"id_page"`
|
||||
TimeStart time.Time `gorm:"column:time_start;primaryKey" json:"time_start"`
|
||||
TimeEnd *time.Time `gorm:"column:time_end" json:"time_end"`
|
||||
}
|
||||
|
||||
// TableName PsConnectionsPage's table name
|
||||
func (*PsConnectionsPage) TableName() string {
|
||||
return TableNamePsConnectionsPage
|
||||
}
|
||||
Reference in New Issue
Block a user