add models generation and josn print
This commit is contained in:
27
app/model/prestadb/ps_psgdpr_consent.go
Normal file
27
app/model/prestadb/ps_psgdpr_consent.go
Normal file
@@ -0,0 +1,27 @@
|
||||
// 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
|
||||
}
|
||||
Reference in New Issue
Block a user