sozsoft-platform/api/src/Sozsoft.Platform.Application.Contracts/Intranet/AnnouncementDto.cs

24 lines
827 B
C#
Raw Normal View History

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; }
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;
}