Show / Hide Table of Contents

Class Announcement

Announcements can be used to display messages and notifications to users when they load the app.

Inheritance
System.Object
Announcement
Namespace: LymeTemplateApi.Models
Assembly: LymeTemplateApi.Models.dll
Syntax
public class Announcement : object

Properties

EndDate

End date for the announcement. The announcement will no longer appear for users after this date has passed.

Declaration
public DateTime EndDate { get; set; }
Property Value
Type Description
DateTime

Id

Primary Key

Declaration
public int Id { get; set; }
Property Value
Type Description
System.Int32

Message

The HTML content that serves as the message body.

Declaration
public string? Message { get; set; }
Property Value
Type Description
System.Nullable<System.String>

StartDate

Start date for the announcement. The announcement will not appear for users until this date has passed.

Declaration
public DateTime StartDate { get; set; }
Property Value
Type Description
DateTime

Subject

The text that will appear in the title area of the announcement.

Declaration
public string? Subject { get; set; }
Property Value
Type Description
System.Nullable<System.String>
In This Article
Back to top Generated by DocFX