package village

import (
	ed "simrs-vx/internal/domain/main-entities/district"
	epb "simrs-vx/internal/domain/main-entities/postal-region/base"
	evb "simrs-vx/internal/domain/main-entities/village/base"
)

type Village struct {
	evb.Basic
	District      *ed.District `json:"district,omitempty" gorm:"foreignKey:District_Code;references:Code"`
	PostalRegions []epb.Basic  `json:"postalRegions,omitempty" gorm:"foreignKey:Village_Code;references:Code"`
}
