Table of Contents

Class Notice

Namespace
adas_core.Domain.Models.MongoModels
Assembly
adas-core.Domain.dll

Represents a notice, typically used to convey information, alerts, or messages within the application.

public class Notice
Inheritance
Notice
Inherited Members
Extension Methods

Properties

Description

public string Description { get; set; }

Property Value

string

DisplayId

public ObjectId DisplayId { get; set; }

Property Value

ObjectId

Id

public ObjectId Id { get; set; }

Property Value

ObjectId

IsFooterEnabled

public bool IsFooterEnabled { get; set; }

Property Value

bool

NoticeDate

public DateTime NoticeDate { get; set; }

Property Value

DateTime

NoticeType

public string NoticeType { get; set; }

Property Value

string

StaffInfoList

public List<StaffInfo>? StaffInfoList { get; set; }

Property Value

List<StaffInfo>

Methods

ToString()

Returns a string representation of the notice, including the date (only when set), display ID, type, and description.

public override string ToString()

Returns

string

A formatted string prefixed with "Notice [" and containing the comma-separated notice details, omitting the date entry when NoticeDate equals MinValue.