using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Admin.NET.Core
{
///
/// 设备报警
///
[Table("les_devicewaring")]
[Comment("设备报警")]
public class LesDeviceWaring : DEntityBase
{
///
/// WcsId
///
[Comment("WcsId")]
public int WcsId { get; set; }
///
/// 设备名称
///
[Comment("设备名称")]
[MaxLength(50)]
public string DeviceName { get; set; }
///
/// 故障名称
///
[Comment("故障名称")]
[MaxLength(50)]
public string FaultName { get; set; }
///
/// 发生时间
///
[Comment("发生时间")]
public DateTimeOffset? StartTime { get; set; }
///
/// 结束时间
///
[Comment("结束时间")]
public DateTimeOffset? EndTime { get; set; }
///
/// 持续时间
///
[Comment("持续时间")]
public int RunningTime { get; set; }
}
}