// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsLinkBlock = "ps_link_block"

// PsLinkBlock mapped from table <ps_link_block>
type PsLinkBlock struct {
	IDLinkBlock int32   `gorm:"column:id_link_block;primaryKey;autoIncrement:true" json:"id_link_block"`
	IDHook      *int32  `gorm:"column:id_hook" json:"id_hook"`
	Position    int32   `gorm:"column:position;not null" json:"position"`
	Content     *string `gorm:"column:content" json:"content"`
}

// TableName PsLinkBlock's table name
func (*PsLinkBlock) TableName() string {
	return TableNamePsLinkBlock
}

var PsLinkBlockCols = struct {
	IDLinkBlock gormcol.Field
	IDHook gormcol.Field
	Position gormcol.Field
	Content gormcol.Field
}{
	IDLinkBlock: gormcol.Field{}.Set((&PsLinkBlock{}).TableName(), "id_link_block"),
	IDHook: gormcol.Field{}.Set((&PsLinkBlock{}).TableName(), "id_hook"),
	Position: gormcol.Field{}.Set((&PsLinkBlock{}).TableName(), "position"),
	Content: gormcol.Field{}.Set((&PsLinkBlock{}).TableName(), "content"),
}
