13 lines
326 B
Go
13 lines
326 B
Go
package division
|
|
|
|
import (
|
|
ecore "simrs-vx/internal/domain/base-entities/core"
|
|
)
|
|
|
|
type Division struct {
|
|
ecore.SmallMain // adjust this according to the needs
|
|
Code string `json:"code" gorm:"unique;size:10"`
|
|
Name string `json:"name" gorm:"size:50"`
|
|
Parent_Id *int16 `json:"parent_id"`
|
|
}
|