71 lines
3.5 KiB
Go
71 lines
3.5 KiB
Go
// 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 TableNamePsGuest = "ps_guest"
|
|
|
|
// PsGuest mapped from table <ps_guest>
|
|
type PsGuest struct {
|
|
IDGuest int32 `gorm:"column:id_guest;primaryKey;autoIncrement:true" json:"id_guest"`
|
|
IDOperatingSystem *int32 `gorm:"column:id_operating_system;index:id_operating_system,priority:1" json:"id_operating_system"`
|
|
IDWebBrowser *int32 `gorm:"column:id_web_browser;index:id_web_browser,priority:1" json:"id_web_browser"`
|
|
IDCustomer *int32 `gorm:"column:id_customer;index:id_customer,priority:1" json:"id_customer"`
|
|
Javascript *bool `gorm:"column:javascript" json:"javascript"`
|
|
ScreenResolutionX *int32 `gorm:"column:screen_resolution_x" json:"screen_resolution_x"`
|
|
ScreenResolutionY *int32 `gorm:"column:screen_resolution_y" json:"screen_resolution_y"`
|
|
ScreenColor *int32 `gorm:"column:screen_color" json:"screen_color"`
|
|
SunJava *bool `gorm:"column:sun_java" json:"sun_java"`
|
|
AdobeFlash *bool `gorm:"column:adobe_flash" json:"adobe_flash"`
|
|
AdobeDirector *bool `gorm:"column:adobe_director" json:"adobe_director"`
|
|
AppleQuicktime *bool `gorm:"column:apple_quicktime" json:"apple_quicktime"`
|
|
RealPlayer *bool `gorm:"column:real_player" json:"real_player"`
|
|
WindowsMedia *bool `gorm:"column:windows_media" json:"windows_media"`
|
|
AcceptLanguage *string `gorm:"column:accept_language" json:"accept_language"`
|
|
MobileTheme bool `gorm:"column:mobile_theme;not null" json:"mobile_theme"`
|
|
}
|
|
|
|
// TableName PsGuest's table name
|
|
func (*PsGuest) TableName() string {
|
|
return TableNamePsGuest
|
|
}
|
|
|
|
var PsGuestCols = struct {
|
|
IDGuest gormcol.Field
|
|
IDOperatingSystem gormcol.Field
|
|
IDWebBrowser gormcol.Field
|
|
IDCustomer gormcol.Field
|
|
Javascript gormcol.Field
|
|
ScreenResolutionX gormcol.Field
|
|
ScreenResolutionY gormcol.Field
|
|
ScreenColor gormcol.Field
|
|
SunJava gormcol.Field
|
|
AdobeFlash gormcol.Field
|
|
AdobeDirector gormcol.Field
|
|
AppleQuicktime gormcol.Field
|
|
RealPlayer gormcol.Field
|
|
WindowsMedia gormcol.Field
|
|
AcceptLanguage gormcol.Field
|
|
MobileTheme gormcol.Field
|
|
}{
|
|
IDGuest: gormcol.Field{Table: TableNamePsGuest, Column: "id_guest"},
|
|
IDOperatingSystem: gormcol.Field{Table: TableNamePsGuest, Column: "id_operating_system"},
|
|
IDWebBrowser: gormcol.Field{Table: TableNamePsGuest, Column: "id_web_browser"},
|
|
IDCustomer: gormcol.Field{Table: TableNamePsGuest, Column: "id_customer"},
|
|
Javascript: gormcol.Field{Table: TableNamePsGuest, Column: "javascript"},
|
|
ScreenResolutionX: gormcol.Field{Table: TableNamePsGuest, Column: "screen_resolution_x"},
|
|
ScreenResolutionY: gormcol.Field{Table: TableNamePsGuest, Column: "screen_resolution_y"},
|
|
ScreenColor: gormcol.Field{Table: TableNamePsGuest, Column: "screen_color"},
|
|
SunJava: gormcol.Field{Table: TableNamePsGuest, Column: "sun_java"},
|
|
AdobeFlash: gormcol.Field{Table: TableNamePsGuest, Column: "adobe_flash"},
|
|
AdobeDirector: gormcol.Field{Table: TableNamePsGuest, Column: "adobe_director"},
|
|
AppleQuicktime: gormcol.Field{Table: TableNamePsGuest, Column: "apple_quicktime"},
|
|
RealPlayer: gormcol.Field{Table: TableNamePsGuest, Column: "real_player"},
|
|
WindowsMedia: gormcol.Field{Table: TableNamePsGuest, Column: "windows_media"},
|
|
AcceptLanguage: gormcol.Field{Table: TableNamePsGuest, Column: "accept_language"},
|
|
MobileTheme: gormcol.Field{Table: TableNamePsGuest, Column: "mobile_theme"},
|
|
}
|