add models generation and josn print
This commit is contained in:
19
app/model/prestadb/ps_hook_alias.go
Normal file
19
app/model/prestadb/ps_hook_alias.go
Normal file
@@ -0,0 +1,19 @@
|
||||
// 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 TableNamePsHookAlias = "ps_hook_alias"
|
||||
|
||||
// PsHookAlias mapped from table <ps_hook_alias>
|
||||
type PsHookAlias struct {
|
||||
IDHookAlias int32 `gorm:"column:id_hook_alias;primaryKey;autoIncrement:true" json:"id_hook_alias"`
|
||||
Alias string `gorm:"column:alias;not null;uniqueIndex:alias,priority:1" json:"alias"`
|
||||
Name string `gorm:"column:name;not null" json:"name"`
|
||||
}
|
||||
|
||||
// TableName PsHookAlias's table name
|
||||
func (*PsHookAlias) TableName() string {
|
||||
return TableNamePsHookAlias
|
||||
}
|
||||
Reference in New Issue
Block a user