// Code generated by gormcol. DO NOT EDIT. package dbmodel import "git.ma-al.com/goc_marek/gormcol" const TableNamePsAdvice = "ps_advice" // PsAdvice mapped from table type PsAdvice struct { IDAdvice int32 `gorm:"column:id_advice;primaryKey;autoIncrement:true" json:"id_advice"` IDPsAdvice int32 `gorm:"column:id_ps_advice;not null" json:"id_ps_advice"` IDTab int32 `gorm:"column:id_tab;not null" json:"id_tab"` IdsTab *string `gorm:"column:ids_tab" json:"ids_tab"` Validated bool `gorm:"column:validated;not null" json:"validated"` Hide bool `gorm:"column:hide;not null" json:"hide"` Location string `gorm:"column:location;not null" json:"location"` Selector *string `gorm:"column:selector" json:"selector"` StartDay int32 `gorm:"column:start_day;not null" json:"start_day"` StopDay int32 `gorm:"column:stop_day;not null" json:"stop_day"` Weight *int32 `gorm:"column:weight;default:1" json:"weight"` } // TableName PsAdvice's table name func (*PsAdvice) TableName() string { return TableNamePsAdvice } var PsAdviceCols = struct { IDAdvice gormcol.Field IDPsAdvice gormcol.Field IDTab gormcol.Field IdsTab gormcol.Field Validated gormcol.Field Hide gormcol.Field Location gormcol.Field Selector gormcol.Field StartDay gormcol.Field StopDay gormcol.Field Weight gormcol.Field }{ IDAdvice: gormcol.Field{}.Set((&PsAdvice{}).TableName(), "id_advice"), IDPsAdvice: gormcol.Field{}.Set((&PsAdvice{}).TableName(), "id_ps_advice"), IDTab: gormcol.Field{}.Set((&PsAdvice{}).TableName(), "id_tab"), IdsTab: gormcol.Field{}.Set((&PsAdvice{}).TableName(), "ids_tab"), Validated: gormcol.Field{}.Set((&PsAdvice{}).TableName(), "validated"), Hide: gormcol.Field{}.Set((&PsAdvice{}).TableName(), "hide"), Location: gormcol.Field{}.Set((&PsAdvice{}).TableName(), "location"), Selector: gormcol.Field{}.Set((&PsAdvice{}).TableName(), "selector"), StartDay: gormcol.Field{}.Set((&PsAdvice{}).TableName(), "start_day"), StopDay: gormcol.Field{}.Set((&PsAdvice{}).TableName(), "stop_day"), Weight: gormcol.Field{}.Set((&PsAdvice{}).TableName(), "weight"), }