// Code generated by gormcol. 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{}.Set((&PsWebserviceAccount{}).TableName(), "id_webservice_account"),
	Key: gormcol.Field{}.Set((&PsWebserviceAccount{}).TableName(), "key"),
	Description: gormcol.Field{}.Set((&PsWebserviceAccount{}).TableName(), "description"),
	ClassName: gormcol.Field{}.Set((&PsWebserviceAccount{}).TableName(), "class_name"),
	IsModule: gormcol.Field{}.Set((&PsWebserviceAccount{}).TableName(), "is_module"),
	ModuleName: gormcol.Field{}.Set((&PsWebserviceAccount{}).TableName(), "module_name"),
	Active: gormcol.Field{}.Set((&PsWebserviceAccount{}).TableName(), "active"),
}
