SPMS_API/SPMS.Application/DTOs/Notice/NoticeInfoResponseDto.cs

22 lines
536 B
C#

using System.Text.Json.Serialization;
namespace SPMS.Application.DTOs.Notice;
public class NoticeInfoResponseDto
{
[JsonPropertyName("notice_id")]
public long NoticeId { get; set; }
[JsonPropertyName("title")]
public string Title { get; set; } = string.Empty;
[JsonPropertyName("content")]
public string Content { get; set; } = string.Empty;
[JsonPropertyName("is_important")]
public bool IsImportant { get; set; }
[JsonPropertyName("created_at")]
public DateTime CreatedAt { get; set; }
}