// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsMessageReaded = "ps_message_readed"

// PsMessageReaded mapped from table <ps_message_readed>
type PsMessageReaded struct {
	IDMessage  int32     `gorm:"column:id_message;primaryKey" json:"id_message"`
	IDEmployee int32     `gorm:"column:id_employee;primaryKey" json:"id_employee"`
	DateAdd    time.Time `gorm:"column:date_add;not null" json:"date_add"`
}

// TableName PsMessageReaded's table name
func (*PsMessageReaded) TableName() string {
	return TableNamePsMessageReaded
}

var PsMessageReadedCols = struct {
	IDMessage gormcol.Field
	IDEmployee gormcol.Field
	DateAdd gormcol.Field
}{
	IDMessage: gormcol.Field{}.Set((&PsMessageReaded{}).TableName(), "id_message"),
	IDEmployee: gormcol.Field{}.Set((&PsMessageReaded{}).TableName(), "id_employee"),
	DateAdd: gormcol.Field{}.Set((&PsMessageReaded{}).TableName(), "date_add"),
}
