// Code generated by gormcol. 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{}.Set((&PsGuest{}).TableName(), "id_guest"),
	IDOperatingSystem: gormcol.Field{}.Set((&PsGuest{}).TableName(), "id_operating_system"),
	IDWebBrowser: gormcol.Field{}.Set((&PsGuest{}).TableName(), "id_web_browser"),
	IDCustomer: gormcol.Field{}.Set((&PsGuest{}).TableName(), "id_customer"),
	Javascript: gormcol.Field{}.Set((&PsGuest{}).TableName(), "javascript"),
	ScreenResolutionX: gormcol.Field{}.Set((&PsGuest{}).TableName(), "screen_resolution_x"),
	ScreenResolutionY: gormcol.Field{}.Set((&PsGuest{}).TableName(), "screen_resolution_y"),
	ScreenColor: gormcol.Field{}.Set((&PsGuest{}).TableName(), "screen_color"),
	SunJava: gormcol.Field{}.Set((&PsGuest{}).TableName(), "sun_java"),
	AdobeFlash: gormcol.Field{}.Set((&PsGuest{}).TableName(), "adobe_flash"),
	AdobeDirector: gormcol.Field{}.Set((&PsGuest{}).TableName(), "adobe_director"),
	AppleQuicktime: gormcol.Field{}.Set((&PsGuest{}).TableName(), "apple_quicktime"),
	RealPlayer: gormcol.Field{}.Set((&PsGuest{}).TableName(), "real_player"),
	WindowsMedia: gormcol.Field{}.Set((&PsGuest{}).TableName(), "windows_media"),
	AcceptLanguage: gormcol.Field{}.Set((&PsGuest{}).TableName(), "accept_language"),
	MobileTheme: gormcol.Field{}.Set((&PsGuest{}).TableName(), "mobile_theme"),
}
