// 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 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{Table: TableNamePsAdvice, Column: "id_advice"}, IDPsAdvice: gormcol.Field{Table: TableNamePsAdvice, Column: "id_ps_advice"}, IDTab: gormcol.Field{Table: TableNamePsAdvice, Column: "id_tab"}, IdsTab: gormcol.Field{Table: TableNamePsAdvice, Column: "ids_tab"}, Validated: gormcol.Field{Table: TableNamePsAdvice, Column: "validated"}, Hide: gormcol.Field{Table: TableNamePsAdvice, Column: "hide"}, Location: gormcol.Field{Table: TableNamePsAdvice, Column: "location"}, Selector: gormcol.Field{Table: TableNamePsAdvice, Column: "selector"}, StartDay: gormcol.Field{Table: TableNamePsAdvice, Column: "start_day"}, StopDay: gormcol.Field{Table: TableNamePsAdvice, Column: "stop_day"}, Weight: gormcol.Field{Table: TableNamePsAdvice, Column: "weight"}, }