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

# OnlineMessages

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

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

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

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| Id | `long Id { get; set; }` | Primary key / surrogate identifier for this record.* |
| MessageTitle | `string MessageTitle { get; set; }` | Value of message title exposed by this type.* |
| MessageText | `string MessageText { get; set; }` | Value of message text exposed by this type.* |
| SpanishTitle | `string SpanishTitle { get; set; }` | Value of spanish title exposed by this type.* |
| SpanishMessageText | `string SpanishMessageText { get; set; }` | Value of spanish message text exposed by this type.* |
| StartDate | `DateTime StartDate { get; set; }` | Date/time value for start date.* |
| PriorityCode | `OnlineMessagePriority PriorityCode { get; set; }` | Reference to the associated `OnlineMessagePriority` record.* |
| ShowAsExpanded | `bool ShowAsExpanded { get; set; }` | Value of show as expanded exposed by this type.* |
| TerminationDate | `DateTime? TerminationDate { get; set; }` | Date/time value for termination date.* |
| Author | `string Author { get; set; }` | Value of author exposed by this type.* |
| ApplicationName | `string ApplicationName { get; set; }` | Value of application name 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.* |
| UpdateNum | `int UpdateNum { get; set; }` | Value of update num exposed by this type.* |
| UserPermissions | `IEnumerable<OnlineMessagePermission> UserPermissions { get; set; }` | Value of user permissions exposed by this type.* |

## 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/Messages/OnlineMessages.cs`
