From d0f01f571918ae942349068776fa7fb70f3ab5cd Mon Sep 17 00:00:00 2001 From: hutongqing <hutongqing@hnkhzn.com> Date: 星期三, 28 八月 2024 16:20:18 +0800 Subject: [PATCH] 更新设备信息表从表导入问题 --- WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Models/Dt_DispatchInfo.cs | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Models/Dt_DispatchInfo.cs b/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Models/Dt_DispatchInfo.cs index 4c73132..0e7b97a 100644 --- a/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Models/Dt_DispatchInfo.cs +++ b/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Models/Dt_DispatchInfo.cs @@ -15,6 +15,7 @@ *----------------------------------------------------------------*/ #endregion << 鐗� 鏈� 娉� 閲� >> +using Magicodes.ExporterAndImporter.Core; using SqlSugar; using System; using System.Collections.Generic; @@ -35,53 +36,71 @@ /// <summary> /// 涓婚敭 /// </summary> + [ImporterHeader(Name = "涓婚敭")] + [ExporterHeader(DisplayName = "涓婚敭")] [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "涓婚敭")] public int Id { get; set; } /// <summary> /// 浠诲姟鍚嶇О /// </summary> + [ImporterHeader(Name = "浠诲姟鍚嶇О")] + [ExporterHeader(DisplayName = "浠诲姟鍚嶇О")] [SugarColumn(Length = 50, IsNullable = false, ColumnDescription = "浠诲姟鍚嶇О")] public string Name { get; set; } /// <summary> /// 浠诲姟鍒嗙粍 /// </summary> + [ImporterHeader(Name = "浠诲姟鍒嗙粍")] + [ExporterHeader(DisplayName = "浠诲姟鍒嗙粍")] [SugarColumn(Length = 50, IsNullable = false, ColumnDescription = "浠诲姟鍒嗙粍")] public string JobGroup { get; set; } /// <summary> /// 浠诲姟鎵�鍦―LL瀵瑰簲鐨勭▼搴忛泦鍚嶇О /// </summary> + [ImporterHeader(Name = "绋嬪簭闆嗗悕绉�")] + [ExporterHeader(DisplayName = "绋嬪簭闆嗗悕绉�")] [SugarColumn(Length = 50, IsNullable = false, ColumnDescription = "浠诲姟鎵�鍦―LL瀵瑰簲鐨勭▼搴忛泦鍚嶇О")] public string AssemblyName { get; set; } /// <summary> /// 浠诲姟鎵�鍦ㄧ被 /// </summary> + [ImporterHeader(Name = "浠诲姟鎵�鍦ㄧ被")] + [ExporterHeader(DisplayName = "浠诲姟鎵�鍦ㄧ被")] [SugarColumn(Length = 50, IsNullable = false, ColumnDescription = "浠诲姟鎵�鍦ㄧ被")] public string ClassName { get; set; } /// <summary> /// 鎵ц闂撮殧鏃堕棿, 绉掍负鍗曚綅 /// </summary> + [ImporterHeader(Name = "鎵ц闂撮殧鏃堕棿")] + [ExporterHeader(DisplayName = "鎵ц闂撮殧鏃堕棿")] [SugarColumn(IsNullable = false, ColumnDescription = "鎵ц闂撮殧鏃堕棿")] public int IntervalSecond { get; set; } /// <summary> /// 寮�濮嬫椂闂� /// </summary> + [ImporterHeader(Name = "寮�濮嬫椂闂�")] + [ExporterHeader(DisplayName = "寮�濮嬫椂闂�")] [SugarColumn(IsNullable = true, ColumnDescription = "寮�濮嬫椂闂�")] public DateTime? BeginTime { get; set; } /// <summary> /// 缁撴潫鏃堕棿 /// </summary> + [ImporterHeader(Name = "缁撴潫鏃堕棿")] + [ExporterHeader(DisplayName = "缁撴潫鏃堕棿")] [SugarColumn(IsNullable = true, ColumnDescription = "缁撴潫鏃堕棿")] public DateTime? EndTime { get; set; } /// <summary> /// 浠诲姟鎻忚堪 /// </summary> + [ImporterHeader(Name = "浠诲姟鎻忚堪")] + [ExporterHeader(DisplayName = "浠诲姟鎻忚堪")] [SugarColumn(Length = 1000, IsNullable = true, ColumnDescription = "浠诲姟鎻忚堪")] public string Remark { get; set; } } -- Gitblit v1.9.3