diff --git a/FrontendWebApi/Models/Device.cs b/FrontendWebApi/Models/Device.cs index b0d3752..c0f4595 100644 --- a/FrontendWebApi/Models/Device.cs +++ b/FrontendWebApi/Models/Device.cs @@ -97,19 +97,19 @@ namespace FrontendWebApi.Models public string work_person_name { get; set; } public DateTime finish_time { get; set; } public DateTime created_at { get; set; } - public string Created_at + public string createdAt { get { - return Convert.ToDateTime(created_at).ToString("yyyy-MM-dd HH:mm:ss"); + return created_at.ToString("yyyy-MM-dd HH:mm:ss"); } } //創建時間 - public string Finish_time + public string finishTime { get { - return Convert.ToDateTime(finish_time).ToString("yyyy-MM-dd HH:mm:ss"); + return finish_time.ToString("yyyy-MM-dd HH:mm:ss"); } } //結束時間 public string device_node_guid { get; set; }