schangxiang@126.com
2024-09-04 65950aebce26bc1b2263f32863715a6c289e527e
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
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_SCADA_Model.TableModel
{
    /// <summary>
    /// 故障/告警 代码表
    /// </summary>
    [Table("EquipmentFailureCode")]
    public class EquipmentFailureCode
    {
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public long Id { get; set; }
        /// <summary>
        /// 设备代号
        /// </summary>
        [StringLength(255)]
        public string EquipmentID { get; set; }
 
 
        /// <summary>
        /// 设备所属工序
        /// </summary>        
        [StringLength(255)]
        public string WorkingProcedure { get; set; }
 
 
        /// <summary>
        /// 代号
        /// </summary>
        [StringLength(255)]
        public string Code { get; set; }
 
 
        /// <summary>
        /// 代号类型(1:故障 2:告警)
        /// </summary>
        [StringLength(255)]
        public string CodeType { get; set; }
 
 
        /// <summary>
        /// 代号级别(1,2,3级)
        /// </summary>
 
        [StringLength(255)]
        public string CodeLevel { get; set; }
 
 
        /// <summary>
        /// 代号描述
        /// </summary>
        [StringLength(255)]
        public string CodeDesc { get; set; }
 
 
 
        [StringLength(255)]
        public string Remarks { get; set; }
 
 
        public DateTimeOffset? CreatedTime { get; set; }
 
        public DateTimeOffset? UpdatedTime { get; set; }
 
        public long? CreatedUserId { get; set; }
 
        [StringLength(50)]
        public string CreatedUserName { get; set; }
 
        public long? UpdatedUserId { get; set; }
 
        [StringLength(50)]
        public string UpdatedUserName { get; set; }
 
        public bool IsDeleted { get; set; }
    }
}