using System; using Sozsoft.Platform.Identity.Dto; using Volo.Abp.Application.Dtos; namespace Sozsoft.Platform.Intranet; public class AnnouncementDto : FullAuditedEntityDto { public Guid? TenantId { get; set; } public string Title { get; set; } = string.Empty; public string Excerpt { get; set; } = string.Empty; public string Content { get; set; } = string.Empty; public string ImageUrl { get; set; } = string.Empty; public string Category { get; set; } = string.Empty; public Guid? UserId { get; set; } public UserInfoViewModel? User { get; set; } public DateTime PublishDate { get; set; } public DateTime? ExpiryDate { get; set; } public bool IsPinned { get; set; } public int ViewCount { get; set; } public string Attachments { get; set; } = string.Empty; }