ibms-dome/Backend/Models/EmergencyRecord.cs

46 lines
1.2 KiB
C#
Raw Permalink Normal View History

2022-10-14 16:08:54 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Backend.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; }
}
}