16 lines
487 B
Go
16 lines
487 B
Go
package counter
|
|
|
|
import (
|
|
ecore "simrs-vx/internal/domain/base-entities/core"
|
|
)
|
|
|
|
type Counter struct {
|
|
ecore.SmallMain // adjust this according to the needs
|
|
Code string `json:"code" gorm:"unique;size:10"`
|
|
Name string `json:"name" gorm:"size:30"`
|
|
Number uint8 `json:"number" gorm:"size:10"`
|
|
Parent_Id *uint16 `json:"parent_id"`
|
|
Type_Code string `json:"type_code"`
|
|
Queue_Code string `json:"queue_code" gorm:"size:5"`
|
|
}
|