add models generation and josn print
This commit is contained in:
26
app/model/prestadb/ps_connections_source.go
Normal file
26
app/model/prestadb/ps_connections_source.go
Normal file
@@ -0,0 +1,26 @@
|
||||
// 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 TableNamePsConnectionsSource = "ps_connections_source"
|
||||
|
||||
// PsConnectionsSource mapped from table <ps_connections_source>
|
||||
type PsConnectionsSource struct {
|
||||
IDConnectionsSource int32 `gorm:"column:id_connections_source;primaryKey;autoIncrement:true" json:"id_connections_source"`
|
||||
IDConnections int32 `gorm:"column:id_connections;not null;index:connections,priority:1" json:"id_connections"`
|
||||
HTTPReferer *string `gorm:"column:http_referer;index:http_referer,priority:1" json:"http_referer"`
|
||||
RequestURI *string `gorm:"column:request_uri;index:request_uri,priority:1" json:"request_uri"`
|
||||
Keywords *string `gorm:"column:keywords" json:"keywords"`
|
||||
DateAdd time.Time `gorm:"column:date_add;not null;index:orderby,priority:1" json:"date_add"`
|
||||
}
|
||||
|
||||
// TableName PsConnectionsSource's table name
|
||||
func (*PsConnectionsSource) TableName() string {
|
||||
return TableNamePsConnectionsSource
|
||||
}
|
||||
Reference in New Issue
Block a user