using System.Collections.Generic; using NPP.SmartSchedue.Api.Contracts.Core.Enums; namespace NPP.SmartSchedue.Api.Contracts.Services.Notification.Output; /// /// 系统消息项 /// public class SystemMessageItem { /// /// 接收人员ID /// public long RecipientPersonnelId { get; set; } /// /// 消息标题 /// public string Title { get; set; } = ""; /// /// 消息内容 /// public string Content { get; set; } = ""; /// /// 消息类型 /// public SystemMessageTypeEnum MessageType { get; set; } = SystemMessageTypeEnum.Info; /// /// 业务类型 /// public string BusinessType { get; set; } = ""; /// /// 业务ID /// public long? BusinessId { get; set; } /// /// 操作按钮列表 /// public List Actions { get; set; } = new List(); /// /// 个性化变量 /// public Dictionary Variables { get; set; } = new Dictionary(); }