// Code generated by gormcol. 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{}.Set((&PsPsgdprLog{}).TableName(), "id_gdpr_log"),
	IDCustomer: gormcol.Field{}.Set((&PsPsgdprLog{}).TableName(), "id_customer"),
	IDGuest: gormcol.Field{}.Set((&PsPsgdprLog{}).TableName(), "id_guest"),
	ClientName: gormcol.Field{}.Set((&PsPsgdprLog{}).TableName(), "client_name"),
	IDModule: gormcol.Field{}.Set((&PsPsgdprLog{}).TableName(), "id_module"),
	RequestType: gormcol.Field{}.Set((&PsPsgdprLog{}).TableName(), "request_type"),
	DateAdd: gormcol.Field{}.Set((&PsPsgdprLog{}).TableName(), "date_add"),
	DateUpd: gormcol.Field{}.Set((&PsPsgdprLog{}).TableName(), "date_upd"),
}
