add models generation and josn print
This commit is contained in:
28
app/model/prestadb/ps_psgdpr_log.go
Normal file
28
app/model/prestadb/ps_psgdpr_log.go
Normal file
@@ -0,0 +1,28 @@
|
||||
// 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 TableNamePsPsgdprLog = "ps_psgdpr_log"
|
||||
|
||||
// PsPsgdprLog mapped from table <ps_psgdpr_log>
|
||||
type PsPsgdprLog struct {
|
||||
IDGdprLog int32 `gorm:"column:id_gdpr_log;primaryKey;autoIncrement:true" json:"id_gdpr_log"`
|
||||
IDCustomer *int32 `gorm:"column:id_customer" json:"id_customer"`
|
||||
IDGuest *int32 `gorm:"column:id_guest" json:"id_guest"`
|
||||
ClientName *string `gorm:"column:client_name" json:"client_name"`
|
||||
IDModule int32 `gorm:"column:id_module;not null" json:"id_module"`
|
||||
RequestType int32 `gorm:"column:request_type;not null" json:"request_type"`
|
||||
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 PsPsgdprLog's table name
|
||||
func (*PsPsgdprLog) TableName() string {
|
||||
return TableNamePsPsgdprLog
|
||||
}
|
||||
Reference in New Issue
Block a user