Shared Classes Overview
These classes are shared across multiple models (Estate, Project, Department, Employee) and provide common functionality.
Available Classes
Address
Address information with street, postal code, city, municipality, county, and country details.
Used by: Estate, Project, Building, Department
GeoCoordinates
Geographic coordinates (latitude and longitude) for mapping and location services.
Used by: Estate, Project
Image
Image information including URLs, captions, categories, and dimensions.
Used by: Estate, Project, Phase, Building, Department, Employee
ImageCollection
Specialized collection class for managing Image objects with domain-specific logic like GetPrimaryImage(), GetFloorPlans(), and filtering by category.
Used by: Estate, Project, Phase, Building, Department, Employee
Document
Document metadata for PDFs, floor plans, and other files. Class name: PropertyDocument.
Used by: Estate, Project, Phase, Building
DocumentCollection
Specialized collection class for managing PropertyDocument objects with methods like GetFloorPlans(), GetProspectus(), and filtering by type and visibility.
Used by: Estate, Project, Phase, Building
Link
External links for virtual tours, videos, and other web resources. Class name: PropertyLink.
Used by: Estate
DescriptionSection
Structured description sections with titles, content, and ordering.
Used by: Estate, Project
EnergyRating
Energy efficiency rating information (A-G scale).
Used by: Estate
Showing
Scheduled showing/open house information. Class name: Showing.
Used by: Estate
ExternalPlatformUrls
URLs for external platforms like Finn.no, Hemnet, etc.
Used by: Estate, Project
Matrikkel
Norwegian cadastral information (property registry data).
Used by: Estate
File Locations
All shared class files are located in:
Integration
When using these classes in your code, ensure you have the proper namespace:
All classes are in the same namespace for easy integration.