44 lines
1.6 KiB
Go
44 lines
1.6 KiB
Go
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
// Code generated by gorm.io/gen. 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{Table: TableNamePsTaxRulesGroup, Column: "id_tax_rules_group"},
|
|
Name: gormcol.Field{Table: TableNamePsTaxRulesGroup, Column: "name"},
|
|
Active: gormcol.Field{Table: TableNamePsTaxRulesGroup, Column: "active"},
|
|
Deleted: gormcol.Field{Table: TableNamePsTaxRulesGroup, Column: "deleted"},
|
|
DateAdd: gormcol.Field{Table: TableNamePsTaxRulesGroup, Column: "date_add"},
|
|
DateUpd: gormcol.Field{Table: TableNamePsTaxRulesGroup, Column: "date_upd"},
|
|
}
|