// Code generated by gormcol. DO NOT EDIT.

package dbmodel

import (
	"git.ma-al.com/goc_marek/gormcol"
	"time"
)

const TableNamePsOrderMessage = "ps_order_message"

// PsOrderMessage mapped from table <ps_order_message>
type PsOrderMessage struct {
	IDOrderMessage int32     `gorm:"column:id_order_message;primaryKey;autoIncrement:true" json:"id_order_message"`
	DateAdd        time.Time `gorm:"column:date_add;not null" json:"date_add"`
}

// TableName PsOrderMessage's table name
func (*PsOrderMessage) TableName() string {
	return TableNamePsOrderMessage
}

var PsOrderMessageCols = struct {
	IDOrderMessage gormcol.Field
	DateAdd gormcol.Field
}{
	IDOrderMessage: gormcol.Field{}.Set((&PsOrderMessage{}).TableName(), "id_order_message"),
	DateAdd: gormcol.Field{}.Set((&PsOrderMessage{}).TableName(), "date_add"),
}
