45 lines
1.5 KiB
C#
45 lines
1.5 KiB
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Traffic.Data.ViewModels
|
|
{
|
|
public class JsonCancelEvent
|
|
{
|
|
// "area":"中壢區",
|
|
//"handlingTime":"2021-11-17 09:23:26",
|
|
//"eventID":"20211117205715785",
|
|
//"policeID":"取消開單測試",
|
|
//"vehicleName":"汽車",
|
|
//"organization":"中壢分局",
|
|
//"county":"桃園市",
|
|
//"siteName":"中壢火車站-計程車下客區",
|
|
//"eventName":"違規停車",
|
|
//"action":"取消開單",
|
|
//"plate":"APP-0215",
|
|
//"sn":"1309697"
|
|
|
|
[JsonPropertyName("area")]
|
|
public string area { get; set; }
|
|
[JsonPropertyName("handlingTime")]
|
|
public string handlingTime { get; set; }
|
|
[JsonPropertyName("eventID")]
|
|
public string eventID { get; set; }
|
|
[JsonPropertyName("policeID")]
|
|
public string policeID { get; set; }
|
|
[JsonPropertyName("vehicleName")]
|
|
public string vehicleName { get; set; }
|
|
[JsonPropertyName("organization")]
|
|
public string organization { get; set; }
|
|
[JsonPropertyName("county")]
|
|
public string county { get; set; }
|
|
[JsonPropertyName("siteName")]
|
|
public string siteName { get; set; }
|
|
[JsonPropertyName("eventName")]
|
|
public string eventName { get; set; }
|
|
[JsonPropertyName("action")]
|
|
public string action { get; set; }
|
|
[JsonPropertyName("plate")]
|
|
public string plate { get; set; }
|
|
[JsonPropertyName("sn")]
|
|
public string sn { get; set; }
|
|
}
|
|
} |