| | |
| | | *----------------------------------------------------------------*/ |
| | | #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> |
| | | [SugarTable(nameof(Dt_DeviceProtocolDetail), "设备协议明细")] |
| | | public class 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> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "设备协议参数名称")] |
| | | public string DeviceProParamName { get; set; } |
| | | [ImporterHeader(Name = "设备协议参数名称")] |
| | | [ExporterHeader(DisplayName = "设备协议参数名称")] |
| | | [SugarColumn(Length = 50, 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; } |
| | | } |