// 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 TableNamePsCustomerMessage = "ps_customer_message" // PsCustomerMessage mapped from table type PsCustomerMessage struct { IDCustomerMessage int32 `gorm:"column:id_customer_message;primaryKey;autoIncrement:true" json:"id_customer_message"` IDCustomerThread *int32 `gorm:"column:id_customer_thread;index:id_customer_thread,priority:1" json:"id_customer_thread"` IDEmployee *int32 `gorm:"column:id_employee;index:id_employee,priority:1" json:"id_employee"` Message string `gorm:"column:message;not null" json:"message"` FileName *string `gorm:"column:file_name" json:"file_name"` IPAddress *string `gorm:"column:ip_address" json:"ip_address"` UserAgent *string `gorm:"column:user_agent" json:"user_agent"` DateAdd time.Time `gorm:"column:date_add;not null" json:"date_add"` DateUpd time.Time `gorm:"column:date_upd;not null" json:"date_upd"` Private int32 `gorm:"column:private;not null" json:"private"` Read bool `gorm:"column:read;not null" json:"read"` Product *string `gorm:"column:product" json:"product"` } // TableName PsCustomerMessage's table name func (*PsCustomerMessage) TableName() string { return TableNamePsCustomerMessage }