add models generation and josn print
This commit is contained in:
23
app/model/prestadb/ps_webservice_account.go
Normal file
23
app/model/prestadb/ps_webservice_account.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
|
||||
|
||||
const TableNamePsWebserviceAccount = "ps_webservice_account"
|
||||
|
||||
// PsWebserviceAccount mapped from table <ps_webservice_account>
|
||||
type PsWebserviceAccount struct {
|
||||
IDWebserviceAccount int32 `gorm:"column:id_webservice_account;primaryKey;autoIncrement:true" json:"id_webservice_account"`
|
||||
Key string `gorm:"column:key;not null;index:key,priority:1" json:"key"`
|
||||
Description *string `gorm:"column:description" json:"description"`
|
||||
ClassName string `gorm:"column:class_name;not null;default:WebserviceRequest" json:"class_name"`
|
||||
IsModule int32 `gorm:"column:is_module;not null" json:"is_module"`
|
||||
ModuleName *string `gorm:"column:module_name" json:"module_name"`
|
||||
Active int32 `gorm:"column:active;not null" json:"active"`
|
||||
}
|
||||
|
||||
// TableName PsWebserviceAccount's table name
|
||||
func (*PsWebserviceAccount) TableName() string {
|
||||
return TableNamePsWebserviceAccount
|
||||
}
|
||||
Reference in New Issue
Block a user