2026-05-05 17:59:30 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
using Sozsoft.Platform.Identity.Dto;
|
|
|
|
|
|
using Volo.Abp.Application.Dtos;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Sozsoft.Platform.Intranet;
|
|
|
|
|
|
|
|
|
|
|
|
public class AnnouncementDto : FullAuditedEntityDto<Guid>
|
|
|
|
|
|
{
|
|
|
|
|
|
public Guid? TenantId { get; set; }
|
|
|
|
|
|
|
2026-05-25 14:31:54 +00:00
|
|
|
|
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;
|
2026-05-05 17:59:30 +00:00
|
|
|
|
public Guid? UserId { get; set; }
|
2026-05-25 14:31:54 +00:00
|
|
|
|
public UserInfoViewModel? User { get; set; }
|
2026-05-05 17:59:30 +00:00
|
|
|
|
public DateTime PublishDate { get; set; }
|
|
|
|
|
|
public DateTime? ExpiryDate { get; set; }
|
|
|
|
|
|
public bool IsPinned { get; set; }
|
|
|
|
|
|
public int ViewCount { get; set; }
|
2026-05-25 14:31:54 +00:00
|
|
|
|
public string Attachments { get; set; } = string.Empty;
|
2026-05-05 17:59:30 +00:00
|
|
|
|
}
|