category

package
v0.0.0-...-eb64f0e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Service expose serviceProvider.
	Service *serviceProvider
)

Functions

This section is empty.

Types

type Category

type Category struct {
	ID       uint32    `gorm:"column:id"`
	Category string    `gorm:"column:category"`
	ParentID uint32    `gorm:"column:parentid"`
	IsActive bool      `gorm:"column:isactive"`
	Created  time.Time `gorm:"column:created"`
}

Category represents the class of wares.

func (Category) TableName

func (Category) TableName() string

TableName returns table name in database.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL