// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsTaxRulesGroup = "ps_tax_rules_group"

// PsTaxRulesGroup mapped from table <ps_tax_rules_group>
type PsTaxRulesGroup struct {
	IDTaxRulesGroup int32     `gorm:"column:id_tax_rules_group;primaryKey;autoIncrement:true" json:"id_tax_rules_group"`
	Name            string    `gorm:"column:name;not null" json:"name"`
	Active          int32     `gorm:"column:active;not null" json:"active"`
	Deleted         bool      `gorm:"column:deleted;not null" json:"deleted"`
	DateAdd         time.Time `gorm:"column:date_add;not null" json:"date_add"`
	DateUpd         time.Time `gorm:"column:date_upd;not null" json:"date_upd"`
}

// TableName PsTaxRulesGroup's table name
func (*PsTaxRulesGroup) TableName() string {
	return TableNamePsTaxRulesGroup
}

var PsTaxRulesGroupCols = struct {
	IDTaxRulesGroup gormcol.Field
	Name gormcol.Field
	Active gormcol.Field
	Deleted gormcol.Field
	DateAdd gormcol.Field
	DateUpd gormcol.Field
}{
	IDTaxRulesGroup: gormcol.Field{}.Set((&PsTaxRulesGroup{}).TableName(), "id_tax_rules_group"),
	Name: gormcol.Field{}.Set((&PsTaxRulesGroup{}).TableName(), "name"),
	Active: gormcol.Field{}.Set((&PsTaxRulesGroup{}).TableName(), "active"),
	Deleted: gormcol.Field{}.Set((&PsTaxRulesGroup{}).TableName(), "deleted"),
	DateAdd: gormcol.Field{}.Set((&PsTaxRulesGroup{}).TableName(), "date_add"),
	DateUpd: gormcol.Field{}.Set((&PsTaxRulesGroup{}).TableName(), "date_upd"),
}
