add models generation and josn print
This commit is contained in:
20
app/model/prestadb/ps_psgdpr_consent_lang.go
Normal file
20
app/model/prestadb/ps_psgdpr_consent_lang.go
Normal file
@@ -0,0 +1,20 @@
|
||||
// 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
|
||||
|
||||
const TableNamePsPsgdprConsentLang = "ps_psgdpr_consent_lang"
|
||||
|
||||
// PsPsgdprConsentLang mapped from table <ps_psgdpr_consent_lang>
|
||||
type PsPsgdprConsentLang struct {
|
||||
IDGdprConsent int32 `gorm:"column:id_gdpr_consent;primaryKey;autoIncrement:true" json:"id_gdpr_consent"`
|
||||
IDLang int32 `gorm:"column:id_lang;primaryKey" json:"id_lang"`
|
||||
Message *string `gorm:"column:message" json:"message"`
|
||||
IDShop int32 `gorm:"column:id_shop;primaryKey" json:"id_shop"`
|
||||
}
|
||||
|
||||
// TableName PsPsgdprConsentLang's table name
|
||||
func (*PsPsgdprConsentLang) TableName() string {
|
||||
return TableNamePsPsgdprConsentLang
|
||||
}
|
||||
Reference in New Issue
Block a user