37 lines
833 B
C#
37 lines
833 B
C#
|
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 AnnounceInsertViewModel
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 標題
|
|||
|
/// </summary>
|
|||
|
[JsonPropertyName("Title")]
|
|||
|
public string Title { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 內文
|
|||
|
/// </summary>
|
|||
|
[JsonPropertyName("Content")]
|
|||
|
public string Content { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 起始時間
|
|||
|
/// </summary>
|
|||
|
[JsonPropertyName("StartOn")]
|
|||
|
public string StartOn { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 狀態
|
|||
|
/// </summary>
|
|||
|
[JsonPropertyName("Status")]
|
|||
|
public int Status { get; set; }
|
|||
|
}
|
|||
|
}
|