Files
simrsx-be/internal/domain/main-entities/division/entity.go
2025-08-20 16:51:24 +07:00

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"`
}