Admin
2025-12-02 9e42f0dafa019f5ecf6b0ff425ecb966b002171e
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
/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化,请在代码生器重新生成此Model
 */
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;
using WIDESEA_Entity.SystemModels;
 
namespace WIDESEA_Entity.DomainModels
{
    [Entity(TableCnName = "PLC信息主体",TableName = "Dt_PLCinfoHead",DBServer = "ServiceDbContext")]
    public class Dt_PLCinfoHead:BaseEntity
    {
        /// <summary>
       ///主键
       /// </summary>
       [Key]
       [Display(Name ="主键")]
       [Column(TypeName="uniqueidentifier")]
       [Required(AllowEmptyStrings=false)]
       public Guid plcinfo_id { get; set; }
 
       /// <summary>
       ///设备名称
       /// </summary>
       [Display(Name ="设备名称")]
       [MaxLength(60)]
       [Column(TypeName="nvarchar(60)")]
       [Required(AllowEmptyStrings=false)]
       public string plcinfo_name { get; set; }
 
       /// <summary>
       ///设备IP地址
       /// </summary>
       [Display(Name ="设备IP地址")]
       [MaxLength(60)]
       [Column(TypeName="nvarchar(60)")]
       [Required(AllowEmptyStrings=false)]
       public string plcinfo_ip { get; set; }
 
       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       [Required(AllowEmptyStrings=false)]
       public DateTime plcinfo_createtime { get; set; }
 
       /// <summary>
       ///备注信息
       /// </summary>
       [Display(Name ="备注信息")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Required(AllowEmptyStrings=false)]
       public string plcinfo_remark { get; set; }
 
       /// <summary>
       ///设备类型
       /// </summary>
       [Display(Name ="设备类型")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Required(AllowEmptyStrings=false)]
       public string plcinfo_equiptype { get; set; }
 
       /// <summary>
       ///PLC类型
       /// </summary>
       [Display(Name ="PLC类型")]
       [MaxLength(60)]
       [Column(TypeName="nvarchar(60)")]
       [Required(AllowEmptyStrings=false)]
       public string plcinfo_type { get; set; }
 
       /// <summary>
       ///设备状态
       /// </summary>
       [Display(Name ="设备状态")]
       [MaxLength(510)]
       [Column(TypeName="nvarchar(510)")]
       public string plcinfo_state { get; set; }
 
       /// <summary>
       ///备用字段1
       /// </summary>
       [Display(Name ="备用字段1")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       public string plcinfo_backup_1 { get; set; }
 
       /// <summary>
       ///备用字段2
       /// </summary>
       [Display(Name ="备用字段2")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       public string plcinfo_backup_2 { get; set; }
 
       /// <summary>
       ///备用字段3
       /// </summary>
       [Display(Name ="备用字段3")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       public string plcinfo_backup_3 { get; set; }
 
       
    }
}