Skip to content

PurchaseOrderLine

Domain entity representing Purchase order line data within the corporate area of the claims/policy domain, mapped for NHibernate persistence.*

Purpose

  • Models purchase order line data used by the corporate area of this library.*
  • Inherits shared identity/lifecycle behavior from EntityBase.

Context

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

Public members

Member Signature Purpose
Id string Id { get; set; } Primary key / surrogate identifier for this record.*
PurchaseOrderNumber string PurchaseOrderNumber { get; set; } Value of purchase order number exposed by this type.*
Item string Item { get; set; } Value of item exposed by this type.*
ItemDescription string ItemDescription { get; set; } Value of item description exposed by this type.*
CommentIndex string CommentIndex { get; set; } Value of comment index exposed by this type.*
OriginalDescription string OriginalDescription { get; set; } Value of original description exposed by this type.*
Quantity double Quantity { get; set; } Value of quantity exposed by this type.*
LineNumber int LineNumber { get; set; } Value of line number exposed by this type.*
UnitCost decimal UnitCost { get; set; } Value of unit cost exposed by this type.*
UnitOfMeasure string UnitOfMeasure { get; set; } Value of unit of measure exposed by this type.*
TotalItemCost decimal TotalItemCost { get; set; } Value of total item cost exposed by this type.*
Comment string Comment { get; set; } Value of comment exposed by this type.*
OverflowComments IList<PurchaseOrderLineComment> OverflowComments { get; set; } Value of overflow comments exposed by this type.*
Equals bool Equals(object obj) Performs the Equals operation.*
GetHashCode int GetHashCode() Retrieves hash code.*
PurchaseOrderLine() PurchaseOrderLine() Initializes a new instance of the type with the supplied dependencies.*

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/Corporate/PurchaseOrderLine.cs