// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsContact = "ps_contact"

// PsContact mapped from table <ps_contact>
type PsContact struct {
	IDContact       int32  `gorm:"column:id_contact;primaryKey;autoIncrement:true" json:"id_contact"`
	Email           string `gorm:"column:email;not null" json:"email"`
	CustomerService bool   `gorm:"column:customer_service;not null" json:"customer_service"`
	Position        int32  `gorm:"column:position;not null" json:"position"`
}

// TableName PsContact's table name
func (*PsContact) TableName() string {
	return TableNamePsContact
}

var PsContactCols = struct {
	IDContact gormcol.Field
	Email gormcol.Field
	CustomerService gormcol.Field
	Position gormcol.Field
}{
	IDContact: gormcol.Field{}.Set((&PsContact{}).TableName(), "id_contact"),
	Email: gormcol.Field{}.Set((&PsContact{}).TableName(), "email"),
	CustomerService: gormcol.Field{}.Set((&PsContact{}).TableName(), "customer_service"),
	Position: gormcol.Field{}.Set((&PsContact{}).TableName(), "position"),
}
