using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace Traffic.Data.ViewModels
{
public class AnnounceViewModel
{
///
/// 流水號
///
[JsonPropertyName("Id")]
public int Id { get; set; }
///
/// 標題
///
[JsonPropertyName("Title")]
public string Title { get; set; }
///
/// 內文
///
[JsonPropertyName("Content")]
public string Content { get; set; }
///
/// 起始時間
///
[JsonPropertyName("StartOn")]
public string StartOn { get; set; }
///
/// 狀態
///
[JsonPropertyName("Status")]
public int Status { get; set; }
[JsonPropertyName("CreatorId")]
public int CreatorId { get; set; }
[JsonPropertyName("CreatedOn")]
public DateTime CreatedOn { get; set; }
[JsonPropertyName("UpdatorId")]
public int UpdatorId { get; set; }
[JsonPropertyName("UpdatedOn")]
public DateTime UpdatedOn { get; set; }
}
}