---
title: Location
summary: API reference for Location.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-09-24
library: SAIF.SAIFCode.Core
reference_type: package
---

# Location

`Location` is a data-carrier contract (DTO) in the Locations area of SAIF.SAIFCode.Core, exposing the properties SAIF.Services and its consumers read and populate for this entity*.

## Purpose
- Carries data for the Locations area, consumed by SAIF.Services and other layers that reference this library's contracts*.

## Context
- Namespace: `SAIF.Core.Contracts.Locations`
- Kind: Class
- Assembly/package: `SAIF.Core` (NuGet package `SAIF.SAIFCode.Core`)

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| `Id` | `long Id { get; set; }` | Represents the ID associated with this Location*. |
| `PolicyNum` | `long? PolicyNum { get; set; }` | Represents the policy num associated with this Location*. |
| `BusId` | `long? BusId { get; set; }` | References the identifier of the associated bus record*. |
| `AgentNum` | `long? AgentNum { get; set; }` | Represents the agent num associated with this Location*. |
| `ParentId` | `long? ParentId { get; set; }` | References the identifier of the associated parent record*. |
| `EffectiveDate` | `DateTime EffectiveDate { get; set; }` | Records the date of the effective*. |
| `ExpirationDate` | `DateTime? ExpirationDate { get; set; }` | Records the date of the expiration*. |
| `LocationCode` | `string LocationCode { get; set; }` | Classifies the location using a coded value*. |
| `LocationName` | `string LocationName { get; set; }` | Holds the location name recorded on this Location*. |
| `AddressLine1` | `string AddressLine1 { get; set; }` | Holds line 1 of the record mailing address*. |
| `AddressLine2` | `string AddressLine2 { get; set; }` | Holds line 2 of the record mailing address*. |
| `City` | `string City { get; set; }` | Represents the city associated with this Location*. |
| `Country` | `string Country { get; set; }` | Represents the country associated with this Location*. |
| `County` | `string County { get; set; }` | Represents the county associated with this Location*. |
| `Phone` | `string Phone { get; set; }` | Represents the phone associated with this Location*. |
| `PhoneExtension` | `string PhoneExtension { get; set; }` | Represents the phone extension associated with this Location*. |
| `Fax` | `string Fax { get; set; }` | Represents the fax associated with this Location*. |
| `State` | `string State { get; set; }` | Represents the state associated with this Location*. |
| `Zip` | `string Zip { get; set; }` | Represents the zip associated with this Location*. |
| `Zip4` | `string Zip4 { get; set; }` | Represents the zip4 associated with this Location*. |
| `SicCode` | `string SicCode { get; set; }` | Classifies the sic using a coded value*. |
| `ProviderNum` | `long? ProviderNum { get; set; }` | Represents the provider num associated with this Location*. |
| `IsMailAddress` | `bool IsMailAddress { get; set; }` | Indicates whether mail address applies to this Location*. |
| `CreateUser` | `string CreateUser { get; set; }` | Identifies the user tied to the create on this Location*. |
| `CreateDate` | `DateTime CreateDate { get; set; }` | Records the date of the create*. |
| `UpdateUser` | `string UpdateUser { get; set; }` | Identifies the user tied to the update on this Location*. |
| `UpdateDate` | `DateTime? UpdateDate { get; set; }` | Records the date of the update*. |
| `IsDivertTT` | `bool IsDivertTT { get; set; }` | Indicates whether divert tt applies to this Location*. |
| `UspsBarcode` | `string UspsBarcode { get; set; }` | Represents the usps barcode associated with this Location*. |
| `EmailAddress` | `string EmailAddress { get; set; }` | Represents the email address associated with this Location*. |
| `EmployeeCount` | `long? EmployeeCount { get; set; }` | Records the count of employee*. |
| `AddressLine3` | `string AddressLine3 { get; set; }` | Holds line 3 of the record mailing address*. |
| `IsPrimaryLocation` | `bool IsPrimaryLocation { get; set; }` | Indicates whether primary location applies to this Location*. |
| `CellPhone` | `string CellPhone { set; }` | Represents the cell phone associated with this Location*. |

> **Note:** Statements marked with `*` were inferred from code structure, naming
> conventions, or contextual evidence where direct confirmation was not available
> in source artifacts. Statements marked with `**` could not be confirmed; treat
> as unknown until verified.

## Sources
- Core/SAIF.Core/Contracts/Locations/Location.cs
