fix products listing
This commit is contained in:
44
app/model/dbmodel/ps_psgdpr_consent.go
Normal file
44
app/model/dbmodel/ps_psgdpr_consent.go
Normal file
@@ -0,0 +1,44 @@
|
||||
// Code generated by gormcol. DO NOT EDIT.
|
||||
|
||||
package dbmodel
|
||||
|
||||
import (
|
||||
"git.ma-al.com/goc_marek/gormcol"
|
||||
"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
|
||||
}
|
||||
|
||||
var PsPsgdprConsentCols = struct {
|
||||
IDGdprConsent gormcol.Field
|
||||
IDModule gormcol.Field
|
||||
Active gormcol.Field
|
||||
Error gormcol.Field
|
||||
ErrorMessage gormcol.Field
|
||||
DateAdd gormcol.Field
|
||||
DateUpd gormcol.Field
|
||||
}{
|
||||
IDGdprConsent: gormcol.Field{}.Set((&PsPsgdprConsent{}).TableName(), "id_gdpr_consent"),
|
||||
IDModule: gormcol.Field{}.Set((&PsPsgdprConsent{}).TableName(), "id_module"),
|
||||
Active: gormcol.Field{}.Set((&PsPsgdprConsent{}).TableName(), "active"),
|
||||
Error: gormcol.Field{}.Set((&PsPsgdprConsent{}).TableName(), "error"),
|
||||
ErrorMessage: gormcol.Field{}.Set((&PsPsgdprConsent{}).TableName(), "error_message"),
|
||||
DateAdd: gormcol.Field{}.Set((&PsPsgdprConsent{}).TableName(), "date_add"),
|
||||
DateUpd: gormcol.Field{}.Set((&PsPsgdprConsent{}).TableName(), "date_upd"),
|
||||
}
|
||||
Reference in New Issue
Block a user