36 lines
1.2 KiB
Go
36 lines
1.2 KiB
Go
// Code generated by gormcol. DO NOT EDIT.
|
|
|
|
package dbmodel
|
|
|
|
import (
|
|
"git.ma-al.com/goc_marek/gormcol"
|
|
"time"
|
|
)
|
|
|
|
const TableNamePsConfigurationLang = "ps_configuration_lang"
|
|
|
|
// PsConfigurationLang mapped from table <ps_configuration_lang>
|
|
type PsConfigurationLang struct {
|
|
IDConfiguration int32 `gorm:"column:id_configuration;primaryKey" json:"id_configuration"`
|
|
IDLang int32 `gorm:"column:id_lang;primaryKey" json:"id_lang"`
|
|
Value *string `gorm:"column:value" json:"value"`
|
|
DateUpd *time.Time `gorm:"column:date_upd" json:"date_upd"`
|
|
}
|
|
|
|
// TableName PsConfigurationLang's table name
|
|
func (*PsConfigurationLang) TableName() string {
|
|
return TableNamePsConfigurationLang
|
|
}
|
|
|
|
var PsConfigurationLangCols = struct {
|
|
IDConfiguration gormcol.Field
|
|
IDLang gormcol.Field
|
|
Value gormcol.Field
|
|
DateUpd gormcol.Field
|
|
}{
|
|
IDConfiguration: gormcol.Field{}.Set((&PsConfigurationLang{}).TableName(), "id_configuration"),
|
|
IDLang: gormcol.Field{}.Set((&PsConfigurationLang{}).TableName(), "id_lang"),
|
|
Value: gormcol.Field{}.Set((&PsConfigurationLang{}).TableName(), "value"),
|
|
DateUpd: gormcol.Field{}.Set((&PsConfigurationLang{}).TableName(), "date_upd"),
|
|
}
|