add models generation and josn print
This commit is contained in:
20
app/model/prestadb/ps_link_block.go
Normal file
20
app/model/prestadb/ps_link_block.go
Normal file
@@ -0,0 +1,20 @@
|
||||
// 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
|
||||
|
||||
const TableNamePsLinkBlock = "ps_link_block"
|
||||
|
||||
// PsLinkBlock mapped from table <ps_link_block>
|
||||
type PsLinkBlock struct {
|
||||
IDLinkBlock int32 `gorm:"column:id_link_block;primaryKey;autoIncrement:true" json:"id_link_block"`
|
||||
IDHook *int32 `gorm:"column:id_hook" json:"id_hook"`
|
||||
Position int32 `gorm:"column:position;not null" json:"position"`
|
||||
Content *string `gorm:"column:content" json:"content"`
|
||||
}
|
||||
|
||||
// TableName PsLinkBlock's table name
|
||||
func (*PsLinkBlock) TableName() string {
|
||||
return TableNamePsLinkBlock
|
||||
}
|
||||
Reference in New Issue
Block a user