Files
b2b/app/model/prestadb/ps_guest.go

33 lines
1.7 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 prestadb
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
}