Files
gormcol/app/model/dbmodel/ps_psgdpr_log.go

50 lines
1.9 KiB
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 dbmodel
import (
"git.ma-al.com/goc_marek/gormcol"
"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
}
var PsPsgdprLogCols = struct {
IDGdprLog gormcol.Field
IDCustomer gormcol.Field
IDGuest gormcol.Field
ClientName gormcol.Field
IDModule gormcol.Field
RequestType gormcol.Field
DateAdd gormcol.Field
DateUpd gormcol.Field
}{
IDGdprLog: gormcol.Field{Table: TableNamePsPsgdprLog, Column: "id_gdpr_log"},
IDCustomer: gormcol.Field{Table: TableNamePsPsgdprLog, Column: "id_customer"},
IDGuest: gormcol.Field{Table: TableNamePsPsgdprLog, Column: "id_guest"},
ClientName: gormcol.Field{Table: TableNamePsPsgdprLog, Column: "client_name"},
IDModule: gormcol.Field{Table: TableNamePsPsgdprLog, Column: "id_module"},
RequestType: gormcol.Field{Table: TableNamePsPsgdprLog, Column: "request_type"},
DateAdd: gormcol.Field{Table: TableNamePsPsgdprLog, Column: "date_add"},
DateUpd: gormcol.Field{Table: TableNamePsPsgdprLog, Column: "date_upd"},
}