44 lines
1.9 KiB
Go
44 lines
1.9 KiB
Go
// 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 dbmodel
|
|
|
|
import "git.ma-al.com/goc_marek/gormcol"
|
|
|
|
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
|
|
}
|
|
|
|
var PsWebserviceAccountCols = struct {
|
|
IDWebserviceAccount gormcol.Field
|
|
Key gormcol.Field
|
|
Description gormcol.Field
|
|
ClassName gormcol.Field
|
|
IsModule gormcol.Field
|
|
ModuleName gormcol.Field
|
|
Active gormcol.Field
|
|
}{
|
|
IDWebserviceAccount: gormcol.Field{Table: TableNamePsWebserviceAccount, Column: "id_webservice_account"},
|
|
Key: gormcol.Field{Table: TableNamePsWebserviceAccount, Column: "key"},
|
|
Description: gormcol.Field{Table: TableNamePsWebserviceAccount, Column: "description"},
|
|
ClassName: gormcol.Field{Table: TableNamePsWebserviceAccount, Column: "class_name"},
|
|
IsModule: gormcol.Field{Table: TableNamePsWebserviceAccount, Column: "is_module"},
|
|
ModuleName: gormcol.Field{Table: TableNamePsWebserviceAccount, Column: "module_name"},
|
|
Active: gormcol.Field{Table: TableNamePsWebserviceAccount, Column: "active"},
|
|
}
|