ke_junjie
2025-06-04 84620534eb627e95811b971a4b552b6a177829bf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
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; }
    }
}