Creado apartir del commit b888de6c92056de294456f581a56e25e734d4ab7 de develop

This commit is contained in:
jrojas
2026-06-26 09:52:35 +02:00
commit 319fd3dfb0
746 changed files with 106610 additions and 0 deletions
@@ -0,0 +1,32 @@
using MongoDB.Bson;
namespace adas_core.Domain.Models.MongoModels;
public class Notice
{
public ObjectId Id { get; set; }
public DateTime NoticeDate { get; set; }
public string Description { get; set; } = string.Empty;
public string NoticeType { get; set; } = string.Empty;
public ObjectId DisplayId { get; set; }
public List<StaffInfo>? StaffInfoList { get; set; }
public bool IsFooterEnabled { get; set; } = true;
public override string ToString()
{
List<string> items = [];
if (NoticeDate != DateTime.MinValue) items.Add($"Date: {NoticeDate}");
items.Add($"DisplayId : {DisplayId}");
items.Add($"Type: {NoticeType}");
items.Add($"Description: {Description}");
return "Notice [" + string.Join(",", items) + "]";
}
}
public class StaffInfo
{
public required string Role { get; set; }
public required string Leader { get; set; }
}