46 lines
1.2 KiB
C#
46 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace FrontendWebApi.Models
|
|
{
|
|
public class EmergencyRecord
|
|
{
|
|
}
|
|
|
|
public class EmergencyRecordEventPost
|
|
{
|
|
public int selectaDisaster { get; set; }
|
|
public string selectaBuild { get; set; }
|
|
public int selectaType { get; set; }
|
|
public string dateranger { get; set; }
|
|
}
|
|
|
|
public class EmergencyRecordEvent : Actor
|
|
{
|
|
public string emergency_event_guid { get; set; }
|
|
public int disaster { get; set; }
|
|
public string device_guid { get; set; }
|
|
public string building_guid { get; set; }
|
|
public byte type { get; set; }
|
|
|
|
}
|
|
public class EmergencyRecordEventTable : EmergencyRecordEvent
|
|
{
|
|
public string disaster_name { get; set; }
|
|
public string device_name { get; set; }
|
|
public string building_name { get; set; }
|
|
}
|
|
|
|
|
|
public class EmergencyRecordItem : Actor
|
|
{
|
|
public string emergency_item_guid { get; set; }
|
|
public string big_setting { get; set; }
|
|
public string step_setting { get; set; }
|
|
public byte finished { get; set; }
|
|
public string reason { get; set; }
|
|
}
|
|
}
|