---
title: LegalCase
summary: API reference for LegalCase.
status: draft
owner: SAIF.Core documentation team
last_reviewed: 2026-09-24
library: SAIF.Data
reference_type: package
---

# LegalCase

Domain entity representing Legal case data within the legal area of the claims/policy domain, mapped for NHibernate persistence.*

## Purpose
- Models legal case data used by the legal area of this library.*
- Inherits shared identity/lifecycle behavior from `EntityBase`.

## Context
- Namespace: `SAIF.Data.Model.Legal`
- Assembly/package: `SAIF.Data`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| Id | `long Id { get; set; }` | Primary key / surrogate identifier for this record.* |
| Claim | `InjuryClaim Claim { get; set; }` | Reference to the associated `InjuryClaim` record.* |
| ClaimId | `long ClaimId { get; set; }` | Foreign-key identifier referencing the related claim record.* |
| WcbNumber | `String WcbNumber { get; set; }` | Value of wcb number exposed by this type.* |
| DcbsNumber | `String DcbsNumber { get; set; }` | Value of dcbs number exposed by this type.* |
| OwcpNumber | `String OwcpNumber { get; set; }` | Value of owcp number exposed by this type.* |
| OaljNumber | `String OaljNumber { get; set; }` | Value of oalj number exposed by this type.* |
| BrbNumber | `String BrbNumber { get; set; }` | Value of brb number exposed by this type.* |
| RequestDate | `DateTime RequestDate { get; set; }` | Date/time value for request date.* |
| IsImageAlert | `bool IsImageAlert { get; set; }` | Indicates whether image alert.* |
| CreateDate | `DateTime CreateDate { get; set; }` | Date/time value for create date.* |
| CreateUser | `string CreateUser { get; set; }` | Value of create user 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.* |
| Status | `LegalCaseStatusCode Status { get; set; }` | Reference to the associated `LegalCaseStatusCode` record.* |
| Schedules | `ICollection<Schedule> Schedules { get; set; }` | Value of schedules exposed by this type.* |
| Appeals | `ICollection<Appeal> Appeals { get; set; }` | Value of appeals exposed by this type.* |
| LegalBills | `ICollection<LegalBill> LegalBills { get; set; }` | Value of legal bills exposed by this type.* |
| MostRecentSchedule | `Schedule MostRecentSchedule { get; set; }` | Reference to the associated `Schedule` record.* |
| WorkerAttorney | `ProviderLocation WorkerAttorney { get; set; }` | Reference to the associated `ProviderLocation` record.* |
| WorkerAttorneyFirm | `ProviderLocation WorkerAttorneyFirm { get; set; }` | Reference to the associated `ProviderLocation` record.* |

## 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/Legal/LegalCase.cs`
