add models generation and josn print
This commit is contained in:
23
app/model/prestadb/ps_inpost_point.go
Normal file
23
app/model/prestadb/ps_inpost_point.go
Normal file
@@ -0,0 +1,23 @@
|
||||
// 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 TableNamePsInpostPoint = "ps_inpost_point"
|
||||
|
||||
// PsInpostPoint mapped from table <ps_inpost_point>
|
||||
type PsInpostPoint struct {
|
||||
IDPoint string `gorm:"column:id_point;primaryKey" json:"id_point"`
|
||||
Data string `gorm:"column:data;not null" json:"data"`
|
||||
DateUpd time.Time `gorm:"column:date_upd;not null" json:"date_upd"`
|
||||
}
|
||||
|
||||
// TableName PsInpostPoint's table name
|
||||
func (*PsInpostPoint) TableName() string {
|
||||
return TableNamePsInpostPoint
|
||||
}
|
||||
Reference in New Issue
Block a user