// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsRequestSql = "ps_request_sql"

// PsRequestSql mapped from table <ps_request_sql>
type PsRequestSql struct {
	IDRequestSql int32  `gorm:"column:id_request_sql;primaryKey;autoIncrement:true" json:"id_request_sql"`
	Name         string `gorm:"column:name;not null" json:"name"`
	Sql          string `gorm:"column:sql;not null" json:"sql"`
}

// TableName PsRequestSql's table name
func (*PsRequestSql) TableName() string {
	return TableNamePsRequestSql
}

var PsRequestSqlCols = struct {
	IDRequestSql gormcol.Field
	Name gormcol.Field
	Sql gormcol.Field
}{
	IDRequestSql: gormcol.Field{}.Set((&PsRequestSql{}).TableName(), "id_request_sql"),
	Name: gormcol.Field{}.Set((&PsRequestSql{}).TableName(), "name"),
	Sql: gormcol.Field{}.Set((&PsRequestSql{}).TableName(), "sql"),
}
