Skip to content

Agency

Domain entity representing Agency data within the agencies area of the claims/policy domain, mapped for NHibernate persistence.*

Purpose

  • Models agency data used by the agencies area of this library.*
  • Inherits shared identity/lifecycle behavior from EntityBase.

Context

  • Namespace: SAIF.Data.Model.Agencies
  • Assembly/package: SAIF.Data

Public members

Member Signature Purpose
Id long Id { get; set; } Primary key / surrogate identifier for this record.*
Name string Name { get; set; } Value of name exposed by this type.*
EffectiveDate DateTime EffectiveDate { get; set; } Date/time value for effective date.*
ExpirationDate DateTime? ExpirationDate { get; set; } Date/time value for expiration date.*
IsPaperlessForPolicyHolderCopyOfDocuments bool IsPaperlessForPolicyHolderCopyOfDocuments { get; set; } Indicates whether paperless for policy holder copy of documents.*
IsPaperlessForAgencyCopyOfDocuments bool IsPaperlessForAgencyCopyOfDocuments { get; set; } Indicates whether paperless for agency copy of documents.*
IsPaperlessForAgencyRequested bool IsPaperlessForAgencyRequested { get; set; } Indicates whether paperless for agency requested.*
Agents IEnumerable<Agent> Agents { get; set; } Value of agents exposed by this type.*
Contracts IEnumerable<AgencyContract> Contracts { get; set; } Value of contracts exposed by this type.*
TeamFunctions IEnumerable<TeamFunctionAgency> TeamFunctions { get; set; } Value of team functions exposed by this type.*
UpdateDate DateTime UpdateDate { get; set; } Date/time value for update date.*
UpdateUser string UpdateUser { get; set; } Value of update user exposed by this type.*
SAIFRepresentative WcisEmployee SAIFRepresentative { get; set; } Value of SAIF representative exposed by this type.*
DocumentNotifications IEnumerable<DocumentNotification> DocumentNotifications { get; set; } Value of document notifications exposed by this type.*
SaifAgencyId long SaifAgencyId Field exposing saif agency id.*

Behavioral notes

  • Properties are typically declared virtual to support NHibernate lazy-loading proxies (see the corresponding mapping file under Data/SAIF.Data.NHibernate).*

Constraints and usage notes

  • No additional usage constraints beyond standard NHibernate entity/DTO conventions could be confirmed from static analysis.**

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

  • Data/SAIF.Data/Model/Agencies/Agency.cs