// Code generated by gormcol. DO NOT EDIT.

package dbmodel

import "git.ma-al.com/goc_marek/gormcol"

const TableNamePsPageType = "ps_page_type"

// PsPageType mapped from table <ps_page_type>
type PsPageType struct {
	IDPageType int32  `gorm:"column:id_page_type;primaryKey;autoIncrement:true" json:"id_page_type"`
	Name       string `gorm:"column:name;not null;index:name,priority:1" json:"name"`
}

// TableName PsPageType's table name
func (*PsPageType) TableName() string {
	return TableNamePsPageType
}

var PsPageTypeCols = struct {
	IDPageType gormcol.Field
	Name gormcol.Field
}{
	IDPageType: gormcol.Field{}.Set((&PsPageType{}).TableName(), "id_page_type"),
	Name: gormcol.Field{}.Set((&PsPageType{}).TableName(), "name"),
}
