WCS
dengjunjie
2024-10-14 901c64f294ee75784f3fec80b47ae6b77932fff3
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
#region << 版 本 注 释 >>
/*----------------------------------------------------------------
 * 命名空间:WIDESEAWCS_QuartzJob
 * 创建者:胡童庆
 * 创建时间:2024/8/2 16:13:36
 * 版本:V1.0.0
 * 描述:设备协议明细实体
 *
 * ----------------------------------------------------------------
 * 修改人:
 * 修改时间:
 * 版本:V1.0.1
 * 修改说明:
 * 
 *----------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
 
using Magicodes.ExporterAndImporter.Core;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEAWCS_Core.DB.Models;
 
namespace WIDESEAWCS_QuartzJob.Models
{
    /// <summary>
    /// 设备协议明细
    /// </summary>
    [SugarTable(nameof(Dt_DeviceProtocolDetail), "设备协议明细")]
    public class Dt_DeviceProtocolDetail : BaseEntity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [ImporterHeader(Name = "主键")]
        [ExporterHeader(DisplayName = "主键")]
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "主键")]
        public int Id { get; set; }
 
        /// <summary>
        /// 设备类型
        /// </summary>
        [ImporterHeader(Name = "设备类型")]
        [ExporterHeader(DisplayName = "设备类型")]
        [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "设备类型")]
        public string DeviceType { get; set; }
 
        /// <summary>
        /// 设备协议参数名称
        /// </summary>
        [ImporterHeader(Name = "设备协议参数名称")]
        [ExporterHeader(DisplayName = "设备协议参数名称")]
        [SugarColumn(IsNullable = false, ColumnDescription = "设备协议参数名称")]
        public string DeviceProParamName { get; set; }
 
        /// <summary>
        /// 设备协议明细类型
        /// </summary>
        [ImporterHeader(Name = "设备协议明细类型")]
        [ExporterHeader(DisplayName = "设备协议明细类型")]
        [SugarColumn(Length = 50, ColumnDescription = "设备协议明细类型")]
        public string ProtocolDetailType { get; set; }
 
        /// <summary>
        /// 设备协议明细取值
        /// </summary>
        [ImporterHeader(Name = "设备协议明细取值")]
        [ExporterHeader(DisplayName = "设备协议明细取值")]
        [SugarColumn(Length = 50, IsNullable = false, ColumnDescription = "设备协议明细取值")]
        public string ProtocalDetailValue { get; set; }
 
        /// <summary>
        /// 设备协议明细说明
        /// </summary>
        [ImporterHeader(Name = "设备协议明细说明")]
        [ExporterHeader(DisplayName = "设备协议明细说明")]
        [SugarColumn(IsNullable = true, Length = 500, ColumnDescription = "设备协议明细说明")]
        public string ProtocolDetailDes { get; set; }
 
        /// <summary>
        /// 备注
        /// </summary>
        [ImporterHeader(Name = "备注")]
        [ExporterHeader(DisplayName = "备注")]
        [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "备注")]
        public string Remark { get; set; }
    }
}