using Yi.Framework.AiHub.Domain.Shared.Enums;
namespace Yi.Framework.AiHub.Application.Contracts.Dtos.Announcement;
///
/// 公告日志 DTO
///
public class AnnouncementLogDto
{
///
/// 标题
///
public string Title { get; set; }
///
/// 内容列表
///
public List Content { get; set; } = new List();
///
/// 图片url
///
public string? ImageUrl { get; set; }
///
/// 开始时间(系统公告时间、活动开始时间)
///
public DateTime StartTime { get; set; }
///
/// 活动结束时间
///
public DateTime? EndTime { get; set; }
///
/// 公告类型(系统、活动)
///
public AnnouncementTypeEnum Type{ get; set; }
///
/// 跳转链接
///
public string? Url { get; set; }
}