package regency

import (
	edb "simrs-vx/internal/domain/main-entities/district/base"
	ep "simrs-vx/internal/domain/main-entities/province"
	erb "simrs-vx/internal/domain/main-entities/regency/base"
)

type Regency struct {
	erb.Basic
	Province  *ep.Province `json:"province,omitempty" gorm:"foreignKey:Province_Code;references:Code"`
	Districts []*edb.Basic `json:"districts,omitempty" gorm:"foreignKey:Regency_Code;references:Code"`
}
