分支自 SuZhouGuanHong/TaiYuanTaiZhong

dengjunjie
2024-02-23 538f1f0db8d02103d040b96a489b1a5803750a11
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
/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化,请在代码生器重新生成此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", DetailTable = new Type[] { typeof(dt_plcinfodetail) }, DetailTableCnName = "协议明细")]
    public partial class dt_plcinfohead : BaseEntity
    {
        /// <summary>
        ///
        /// </summary>
        [Key]
        [Display(Name = "plcinfo_id")]
        [Column(TypeName = "uniqueidentifier")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public Guid plcinfo_id { get; set; }
 
        /// <summary>
        ///名称
        /// </summary>
        [Display(Name = "名称")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Editable(true)]
        public string plcinfo_name { get; set; }
 
        /// <summary>
        ///ip
        /// </summary>
        [Display(Name = "ip")]
        [MaxLength(20)]
        [Column(TypeName = "nvarchar(20)")]
        [Editable(true)]
        public string plcinfo_ip { get; set; }
 
        /// <summary>
        ///端口
        /// </summary>
        [Display(Name = "端口")]
        [Column(TypeName = "int")]
        [Editable(true)]
        public int? plcinfo_port { get; set; }
 
        /// <summary>
        ///插槽
        /// </summary>
        [Display(Name = "插槽")]
        [Column(TypeName = "int")]
        [Editable(true)]
        public int? plcinfo_slot { get; set; }
 
        /// <summary>
        ///协议类型
        /// </summary>
        [Display(Name = "协议类型")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Editable(true)]
        public string plcinfo_iotyep { get; set; }
 
        /// <summary>
        ///plc类型
        /// </summary>
        [Display(Name = "plc类型")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Editable(true)]
        public string plcinfo_type { get; set; }
 
        /// <summary>
        ///
        /// </summary>
        [Display(Name = "plcinfo_createtime")]
        [MaxLength(8)]
        [Column(TypeName = "datetime2(8)")]
        [Editable(true)]
        public DateTime plcinfo_createtime { get; set; }
 
        /// <summary>
        ///备注
        /// </summary>
        [Display(Name = "备注")]
        [MaxLength(255)]
        [Column(TypeName = "nvarchar(255)")]
        [Editable(true)]
        public string plcinfo_remark { get; set; }
        /// <summary>
        ///型号
        /// </summary>
        [Display(Name = "型号")]
        [MaxLength(20)]
        [Column(TypeName = "nvarchar(20)")]
        [Editable(true)]
        public string plcinfo_model { get; set; }
 
    }
}