using Hotline.Share.Enums.Snapshot; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Hotline.Share.Dtos.Snapshot; public class NotifyDto { } public class AddNotifyInDto { /// /// 标题 /// public string Title { get; set; } /// /// 内容 /// public string Content { get; set; } /// /// 类型 /// public ENotificationType NotifyType { get; set; } public string ExternalId { get; set; } /// /// 用户 /// public IList UserIds { get; set; } } public class GetNotifyInDto : QueryFixedDto { /// /// 消息类型: /// 0: 通知公告 /// 1: 宣传视频 /// public ENotificationType NotifyType { get; set; } } public class GetNotifyOutDto { /// /// 通知Id /// public string NotificationId { get; set; } /// /// 标题 /// public string Title { get; set; } /// /// 创建时间 /// public DateTime CreationTime { get; set; } /// /// 是否已读 /// public bool IsRead { get; set; } }