using iWare.Wms.Core.Enum;
|
using Microsoft.EntityFrameworkCore;
|
using System;
|
using System.Collections.Generic;
|
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations.Schema;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace iWare.Wms.Core
|
{
|
/// <summary>
|
/// 设备报警记录表
|
/// </summary>
|
[Table("ware_device_wareing")]
|
[Comment("设备报警记录表")]
|
public class WareDeviceWarning : DEntityBase
|
{
|
/// <summary>
|
/// 报警开始时间
|
/// </summary>
|
[Comment("报警时间")]
|
public DateTime? WarningTime { get; set; }
|
|
/// <summary>
|
/// 设备编号
|
/// </summary>
|
[StringLength(50)]
|
[Comment("设备编号")]
|
public string DeviceCode { get; set; }
|
|
/// <summary>
|
/// 设备名称
|
/// </summary>
|
[StringLength(500)]
|
[Comment("设备名称")]
|
public string DeviceName { get; set; }
|
|
/// <summary>
|
/// 报警编号
|
/// </summary>
|
[StringLength(255)]
|
[Comment("报警编号")]
|
public string WarningCode { get; set; }
|
|
/// <summary>
|
/// 报警地址
|
/// </summary>
|
[StringLength(255)]
|
[Comment("报警地址")]
|
public string WarningDbAddress { get; set; }
|
|
/// <summary>
|
/// 报警名称
|
/// </summary>
|
[StringLength(255)]
|
[Comment("报警名称")]
|
public string WarningContent { get; set; }
|
|
/// <summary>
|
/// 状态(0:新建 1:已处理)
|
/// </summary>
|
[Comment("状态")]
|
public int? Status { get; set; }
|
|
/// <summary>
|
/// 状态名称
|
/// </summary>
|
[StringLength(255)]
|
[Comment("状态名称")]
|
public string StatusName { get; set; }
|
|
///// <summary>
|
/////
|
///// </summary>
|
//[Comment("设备编号")]
|
//public int? IsKnow { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
[StringLength(255)]
|
[Comment("设备编号")]
|
public string CloseContent { get; set; }
|
|
/// <summary>
|
/// 报警结束时间
|
/// </summary>
|
[Comment("报警结束时间")]
|
public DateTime? FinishTime { get; set; }
|
|
/// <summary>
|
/// 持续时间
|
/// </summary>
|
[StringLength(255)]
|
[Comment("持续时间")]
|
public string DurationTime { get; set; }
|
|
///// <summary>
|
///// 持续时间分钟
|
///// </summary>
|
//[Comment("持续时间分钟")]
|
//public decimal? DurationMinuteTime { get; set; }
|
|
/// <summary>
|
/// 操作备注
|
/// </summary>
|
[StringLength(500)]
|
[Comment("操作备注")]
|
public string OperationRemark { get; set; }
|
|
/// <summary>
|
/// 设备类型编码
|
/// </summary>
|
[Comment("设备类型编码")]
|
public int? DeviceType { get; set; }
|
|
/// <summary>
|
/// 设备类型名称
|
/// </summary>
|
[StringLength(50)]
|
[Comment("设备类型名称")]
|
public string DeviceTypeName { get; set; }
|
}
|
}
|