PropertyDocument
Document metadata for PDFs, floor plans, and other files related to properties.
Note: The class name is
PropertyDocument(stored inDocument.csfile).
Location
Properties
| Property | Type | Description | Example |
|---|---|---|---|
Id |
string |
Unique identifier for the document | "DOC-001" |
Title |
string |
Document title/name | "Floor Plan - 2nd Floor" |
Url |
string |
URL to download the document | "https://cdn.example.com/floorplan.pdf" |
FileName |
string |
File name without extension | "floorplan-2nd-floor" |
FileExtension |
string |
File extension | "pdf", "docx", "jpg" |
ExternalProviderUrl |
string |
URL to the external provider | "https://storage.provider.com/docs/123" |
Type |
int |
Document type/category as enum from source system (e.g., Vitec docType) | 0, 1, 2, etc. |
IsPublic |
bool |
Whether document should be publicly visible | true, false |
Order |
int |
Display order | 1, 2, 3 |
LastModifiedOrigin |
DateTime |
When this document was last updated in the origin system | 2025-10-28T14:39:00Z |
LastModifiedLocal |
DateTime |
When this document was last updated locally in Destinet | 2025-10-28T15:30:00Z |
Usage Example
var document = new PropertyDocument
{
Id = "DOC-001",
Title = "Sales Prospectus",
Url = "https://cdn.example.com/prospectus.pdf",
FileName = "prospectus",
FileExtension = "pdf",
ExternalProviderUrl = "https://storage.provider.com/docs/123",
Type = 2, // Vitec enum value for document type
IsPublic = true,
Order = 1,
LastModifiedOrigin = DateTime.Parse("2025-10-28T14:39:00Z"),
LastModifiedLocal = DateTime.Parse("2025-10-28T15:30:00Z")
};
Document Type Values
Note: The exact integer enum values and their meanings depend on the source system (e.g., Vitec). Refer to the source system API documentation for the specific enum mappings.
Common Document Types (for reference)
- Floor Plan - Property layout diagrams
- Prospectus - Sales brochure/prospectus
- Legal Document - Contracts, deeds
- Energy Certificate - Energy performance certificate
- Site Plan - Plot/site layout
- Technical Specifications - Building specifications
- HOA Documents - Homeowners association documents
- Inspection Report - Property inspection reports
Used By
- Estate
- Project
- Phase
- Building
Download
- Download Document.cs - Complete C# source code (PropertyDocument class)