using Microsoft.Extensions.Logging;
namespace DigitalData.Core.Application.DTO
{
///
/// Represents a notice for logging purposes, containing a flag, log level, and associated messages.
///
public class Notice
{
///
/// Gets or sets an optional flag associated with the notice.
///
public Enum? Flag { get; init; } = null;
///
/// Gets or sets the log level for the notice.
///
public LogLevel Level { get; init; } = LogLevel.None;
///
/// Gets a list of messages associated with the notice.
///
public List Messages { get; init; } = new();
}
}