28 lines
992 B
Go
28 lines
992 B
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
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
const TableNamePsPsgdprConsent = "ps_psgdpr_consent"
|
|
|
|
// PsPsgdprConsent mapped from table <ps_psgdpr_consent>
|
|
type PsPsgdprConsent struct {
|
|
IDGdprConsent int32 `gorm:"column:id_gdpr_consent;primaryKey;autoIncrement:true" json:"id_gdpr_consent"`
|
|
IDModule int32 `gorm:"column:id_module;primaryKey" json:"id_module"`
|
|
Active int32 `gorm:"column:active;not null" json:"active"`
|
|
Error *int32 `gorm:"column:error" json:"error"`
|
|
ErrorMessage *string `gorm:"column:error_message" json:"error_message"`
|
|
DateAdd time.Time `gorm:"column:date_add;not null" json:"date_add"`
|
|
DateUpd time.Time `gorm:"column:date_upd;not null" json:"date_upd"`
|
|
}
|
|
|
|
// TableName PsPsgdprConsent's table name
|
|
func (*PsPsgdprConsent) TableName() string {
|
|
return TableNamePsPsgdprConsent
|
|
}
|