// 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 TableNamePsMessage = "ps_message" // PsMessage mapped from table type PsMessage struct { IDMessage int32 `gorm:"column:id_message;primaryKey;autoIncrement:true" json:"id_message"` IDCart *int32 `gorm:"column:id_cart;index:id_cart,priority:1" json:"id_cart"` IDCustomer int32 `gorm:"column:id_customer;not null;index:id_customer,priority:1" json:"id_customer"` IDEmployee *int32 `gorm:"column:id_employee;index:id_employee,priority:1" json:"id_employee"` IDOrder int32 `gorm:"column:id_order;not null;index:message_order,priority:1" json:"id_order"` Message string `gorm:"column:message;not null" json:"message"` Private bool `gorm:"column:private;not null;default:1" json:"private"` DateAdd time.Time `gorm:"column:date_add;not null" json:"date_add"` } // TableName PsMessage's table name func (*PsMessage) TableName() string { return TableNamePsMessage }