schangxiang@126.com
2024-04-23 f47411fb53aeee0c7bd514cbc841f9030349f448
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
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
 
namespace Admin.NET.Core
{
    /// <summary>
    /// 设备报警
    /// </summary>
    [Table("les_devicewaring")]
    [Comment("设备报警")]
    public class LesDeviceWaring : DEntityBase
    {
        /// <summary>
        /// WcsId
        /// </summary>
        [Comment("WcsId")]
        public int WcsId { get; set; }
 
        /// <summary>
        /// 设备名称
        /// </summary>
        [Comment("设备名称")]
        [MaxLength(50)]
        public string DeviceName { get; set; }
 
        /// <summary>
        /// 故障名称
        /// </summary>
        [Comment("故障名称")]
        [MaxLength(50)]
        public string FaultName { get; set; }
 
        /// <summary>
        /// 发生时间
        /// </summary>
        [Comment("发生时间")]
        public DateTimeOffset? StartTime  { get; set; }
 
        /// <summary>
        /// 结束时间
        /// </summary>
        [Comment("结束时间")]
        public DateTimeOffset? EndTime { get; set; }
 
        /// <summary>
        /// 持续时间
        /// </summary>
        [Comment("持续时间")]
        public int RunningTime { get; set; }
    }
}