Files
zkill-susser/models/invcategories.gen.go

21 lines
707 B
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 models
const TableNameInvCategory = "invCategories"
// InvCategory mapped from table <invCategories>
type InvCategory struct {
CategoryID int32 `gorm:"column:categoryID;type:INTEGER" json:"categoryID"`
CategoryName string `gorm:"column:categoryName;type:VARCHAR(100)" json:"categoryName"`
IconID int32 `gorm:"column:iconID;type:INTEGER" json:"iconID"`
Published bool `gorm:"column:published;type:BOOLEAN" json:"published"`
}
// TableName InvCategory's table name
func (*InvCategory) TableName() string {
return TableNameInvCategory
}