// Code generated by gormcol. DO NOT EDIT. package dbmodel import ( "git.ma-al.com/goc_marek/gormcol" "time" ) const TableNamePsPagenotfound = "ps_pagenotfound" // PsPagenotfound mapped from table type PsPagenotfound struct { IDPagenotfound int32 `gorm:"column:id_pagenotfound;primaryKey;autoIncrement:true" json:"id_pagenotfound"` IDShop int32 `gorm:"column:id_shop;not null;default:1" json:"id_shop"` IDShopGroup int32 `gorm:"column:id_shop_group;not null;default:1" json:"id_shop_group"` RequestURI string `gorm:"column:request_uri;not null" json:"request_uri"` HTTPReferer string `gorm:"column:http_referer;not null" json:"http_referer"` DateAdd time.Time `gorm:"column:date_add;not null;index:date_add,priority:1" json:"date_add"` } // TableName PsPagenotfound's table name func (*PsPagenotfound) TableName() string { return TableNamePsPagenotfound } var PsPagenotfoundCols = struct { IDPagenotfound gormcol.Field IDShop gormcol.Field IDShopGroup gormcol.Field RequestURI gormcol.Field HTTPReferer gormcol.Field DateAdd gormcol.Field }{ IDPagenotfound: gormcol.Field{}.Set((&PsPagenotfound{}).TableName(), "id_pagenotfound"), IDShop: gormcol.Field{}.Set((&PsPagenotfound{}).TableName(), "id_shop"), IDShopGroup: gormcol.Field{}.Set((&PsPagenotfound{}).TableName(), "id_shop_group"), RequestURI: gormcol.Field{}.Set((&PsPagenotfound{}).TableName(), "request_uri"), HTTPReferer: gormcol.Field{}.Set((&PsPagenotfound{}).TableName(), "http_referer"), DateAdd: gormcol.Field{}.Set((&PsPagenotfound{}).TableName(), "date_add"), }