add models generation and josn print
This commit is contained in:
22
app/model/prestadb/ps_smarty_last_flush.go
Normal file
22
app/model/prestadb/ps_smarty_last_flush.go
Normal file
@@ -0,0 +1,22 @@
|
||||
// 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 TableNamePsSmartyLastFlush = "ps_smarty_last_flush"
|
||||
|
||||
// PsSmartyLastFlush mapped from table <ps_smarty_last_flush>
|
||||
type PsSmartyLastFlush struct {
|
||||
Type string `gorm:"column:type;primaryKey" json:"type"`
|
||||
LastFlush time.Time `gorm:"column:last_flush;not null;default:0000-00-00 00:00:00" json:"last_flush"`
|
||||
}
|
||||
|
||||
// TableName PsSmartyLastFlush's table name
|
||||
func (*PsSmartyLastFlush) TableName() string {
|
||||
return TableNamePsSmartyLastFlush
|
||||
}
|
||||
Reference in New Issue
Block a user