// 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 import ( "time" ) const TableNamePsEmployee = "ps_employee" // PsEmployee mapped from table type PsEmployee struct { IDEmployee int32 `gorm:"column:id_employee;primaryKey;autoIncrement:true;index:id_employee_passwd,priority:1" json:"id_employee"` IDProfile int32 `gorm:"column:id_profile;not null;index:id_profile,priority:1" json:"id_profile"` IDLang int32 `gorm:"column:id_lang;not null" json:"id_lang"` Lastname string `gorm:"column:lastname;not null" json:"lastname"` Firstname string `gorm:"column:firstname;not null" json:"firstname"` Email string `gorm:"column:email;not null;index:employee_login,priority:1" json:"email"` Passwd string `gorm:"column:passwd;not null;index:employee_login,priority:2;index:id_employee_passwd,priority:2" json:"passwd"` LastPasswdGen time.Time `gorm:"column:last_passwd_gen;not null;default:current_timestamp()" json:"last_passwd_gen"` StatsDateFrom *time.Time `gorm:"column:stats_date_from" json:"stats_date_from"` StatsDateTo *time.Time `gorm:"column:stats_date_to" json:"stats_date_to"` StatsCompareFrom *time.Time `gorm:"column:stats_compare_from" json:"stats_compare_from"` StatsCompareTo *time.Time `gorm:"column:stats_compare_to" json:"stats_compare_to"` StatsCompareOption int32 `gorm:"column:stats_compare_option;not null;default:1" json:"stats_compare_option"` PreselectDateRange *string `gorm:"column:preselect_date_range" json:"preselect_date_range"` BoColor *string `gorm:"column:bo_color" json:"bo_color"` BoTheme *string `gorm:"column:bo_theme" json:"bo_theme"` BoCSS *string `gorm:"column:bo_css" json:"bo_css"` DefaultTab int32 `gorm:"column:default_tab;not null" json:"default_tab"` BoWidth int32 `gorm:"column:bo_width;not null" json:"bo_width"` BoMenu bool `gorm:"column:bo_menu;not null;default:1" json:"bo_menu"` Active bool `gorm:"column:active;not null" json:"active"` Optin bool `gorm:"column:optin;not null;default:1" json:"optin"` IDLastOrder int32 `gorm:"column:id_last_order;not null" json:"id_last_order"` IDLastCustomerMessage int32 `gorm:"column:id_last_customer_message;not null" json:"id_last_customer_message"` IDLastCustomer int32 `gorm:"column:id_last_customer;not null" json:"id_last_customer"` LastConnectionDate *time.Time `gorm:"column:last_connection_date" json:"last_connection_date"` ResetPasswordToken *string `gorm:"column:reset_password_token" json:"reset_password_token"` ResetPasswordValidity *time.Time `gorm:"column:reset_password_validity" json:"reset_password_validity"` } // TableName PsEmployee's table name func (*PsEmployee) TableName() string { return TableNamePsEmployee }