ibms-dome/Backend/Models/EmergencySetting.cs
2022-10-14 16:08:54 +08:00

64 lines
1.8 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Backend.Models
{
public class EmergencySetting
{
public string emergency_guid { get; set; }
public int priority { get; set; }
public int big_setting { get; set; }
public string full_name { get; set; }
public string set_doing { get; set; }
public string url_text { get; set; }
public string url_link { get; set; }
public byte not_answer { get; set; }
}
public class EmergencySettingTable: EmergencySetting
{
public string big_setting_name { get; set; }
}
public class EmergencyitemWithguid: EmergencySettingTable
{
public string emergency_item_guid { get; set; }
}
public class Emergencyitempost
{
public string emergency_guid { get; set; }
public string big_setting { get; set; }
public string step_setting { get; set; }
public string event_guid { get; set; }
public byte make_item { get; set; }
}
public class Eventpost
{
public int disaster { get; set; }
public string build { get; set; }
public byte type { get; set; }
}
public class Itempost
{
public string eventguid { get; set; }
public byte choose { get; set; }
public string reason { get; set; }
}
public class Eventitem
{
private string updated_at;
public string big_setting { get; set; }
public string step_setting { get; set; }
public byte finished { get; set; }
public string Updated_at { get { return Convert.ToDateTime(updated_at).ToString("yyyy-MM-dd HH:mm:ss"); } set { updated_at = value; } }
public string reason { get; set; }
}
}