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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
 
namespace Admin.NET.Core
{
    /// <summary>
    /// Agv报警
    /// </summary>
    [Comment("Agv报警")]
    [Table("les_agv_waring")]
    public class AgvWaring : DEntityBase
    {
        /// <summary>
        /// 唯一编码
        /// </summary>
        [Comment("唯一编码")]
        [MaxLength(10)]
        public string Code { get; set; }
 
        /// <summary>
        /// 任务号
        /// </summary>
        [Comment("任务号")]
        [MaxLength(100)]
        public string TransportOrder { get; set; }
 
        /// <summary>
        /// agv小车编号
        /// </summary>
        [Comment("agv小车编号")]
        [MaxLength(10)]
        public string AgvCarCode { get; set; }
 
        /// <summary>
        /// 故障内容
        /// </summary>
        [Comment("故障内容")]
        [MaxLength(50)]
        public string FaultText { get; set; }
 
        /// <summary>
        /// 故障时间
        /// </summary>
        [Comment("故障时间")]
        [MaxLength(50)]
        public DateTimeOffset? StartTime { get; set; }
 
        /// <summary>
        /// 是否解决
        /// </summary>
        [Comment("是否解决")]
        [MaxLength(50)]
        public YesOrNot YesOrNot { get; set; }
 
        /// <summary>
        /// WCS是否可以读取
        /// </summary>
        [Comment("WCS是否可以读取")]
        [Required]
        public bool IsRead { get; set; } = true;
 
        /// <summary>
        /// 所属车间
        /// </summary>
        [Comment("所属车间")]
        public LesWorkShopType WorkShopType { get; set; }
    }
}