#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_DeviceProtocol), "设备åè®®")] public class Dt_DeviceProtocol : BaseEntity { /// <summary> /// 主键 /// </summary> [ImporterHeader(IsIgnore = true)] [ExporterHeader(IsIgnore = true)] [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "主键")] public int Id { get; set; } /// <summary> /// 设备主键 /// </summary> [ImporterHeader(IsIgnore = true)] [ExporterHeader(IsIgnore = true)] [SugarColumn(IsNullable = false, ColumnDescription = "设备主键")] public int DeviceId { get; set; } /// <summary> /// 设备åç¼–å· /// </summary> [ImporterHeader(Name = "设备åç¼–å·")] [ExporterHeader(DisplayName = "设备åç¼–å·")] [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "设备åç¼–å·")] public string DeviceChildCode { get; set; } /// <summary> /// å议数æ®å— /// </summary> [ImporterHeader(Name = "å议数æ®å—")] [ExporterHeader(DisplayName = "å议数æ®å—")] [SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "å议数æ®å—")] public string DeviceProDataBlock { get; set; } /// <summary> /// åç§»é‡ /// </summary> [ImporterHeader(Name = "åç§»é‡")] [ExporterHeader(DisplayName = "åç§»é‡")] [SugarColumn(IsNullable = false, DecimalDigits = 1, ColumnDescription = "åç§»é‡")] public decimal DeviceProOffset { get; set; } /// <summary> /// æ•°æ®ç±»åž‹ /// </summary> [ImporterHeader(Name = "æ•°æ®ç±»åž‹")] [ExporterHeader(DisplayName = "æ•°æ®ç±»åž‹")] [SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "æ•°æ®ç±»åž‹")] public string DeviceProDataType { get; set; } /// <summary> /// æ•°æ®é•¿åº¦ /// </summary> [ImporterHeader(Name = "æ•°æ®é•¿åº¦")] [ExporterHeader(DisplayName = "æ•°æ®é•¿åº¦")] [SugarColumn(IsNullable = false, ColumnDescription = "æ•°æ®é•¿åº¦", DefaultValue = "1")] public int DeviceProDataLength { get; set; } /// <summary> /// 傿•°åç§° /// </summary> [ImporterHeader(Name = "傿•°åç§°")] [ExporterHeader(DisplayName = "傿•°åç§°")] [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "傿•°åç§°")] public string DeviceProParamName { get; set; } /// <summary> /// 傿•°ç±»åž‹ /// </summary> [ImporterHeader(Name = "傿•°ç±»åž‹")] [ExporterHeader(DisplayName = "傿•°ç±»åž‹")] [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "傿•°ç±»åž‹")] public string DeviceProParamType { get; set; } /// <summary> /// 傿•°è¯´æ˜Ž /// </summary> [ImporterHeader(Name = "傿•°è¯´æ˜Ž")] [ExporterHeader(DisplayName = "傿•°è¯´æ˜Ž")] [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "傿•°è¯´æ˜Ž")] public string DeviceProParamDes { get; set; } /// <summary> /// 备注 /// </summary> [ImporterHeader(Name = "备注")] [ExporterHeader(DisplayName = "备注")] [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "备注")] public string DeviceProRemark { get; set; } } }