diff --git a/Model/Tiobon.Web.pdm b/Model/Tiobon.Web.pdm index fbff8c7c..91495209 100644 --- a/Model/Tiobon.Web.pdm +++ b/Model/Tiobon.Web.pdm @@ -1,5 +1,5 @@ - + @@ -111908,25 +111908,25 @@ LABL 0 Arial Unicode MS,8,N C9C14EF8-907F-47FD-87FF-BFE6F764E96C -课程编号 +课件编号 CourseWareNo 1716513643 Administrator -1716514985 +1716541657 Administrator -课程编号 +课件编号 nvarchar(32) 32 4486DA97-E4DF-4C46-82E5-59657ADA99C5 -课程名称 +课件名称 CourseWareName 1716513643 Administrator -1716514985 +1716541657 Administrator -课程名称 +课件名称 nvarchar(32) 32 @@ -111979,11 +111979,11 @@ LABL 0 Arial Unicode MS,8,N 1B2AA2BF-D626-486D-A4A5-F04BB2215EFF - -Seconds + +Hours 1716515707 Administrator -1716518329 +1716779356 Administrator int diff --git a/Tiobon.Core.Api/Tiobon.Core.Model.xml b/Tiobon.Core.Api/Tiobon.Core.Model.xml index ef722178..bb3858d2 100644 --- a/Tiobon.Core.Api/Tiobon.Core.Model.xml +++ b/Tiobon.Core.Api/Tiobon.Core.Model.xml @@ -582,12 +582,12 @@ - 课程编号 + 课件编号 - 课程名称 + 课件名称 @@ -2460,12 +2460,12 @@ - 课程编号 + 课件编号 - 课程名称 + 课件名称 diff --git a/Tiobon.Core.Model/Base/Ghre/Ghre_CourseWare.Dto.Base.cs b/Tiobon.Core.Model/Base/Ghre/Ghre_CourseWare.Dto.Base.cs index 582b31d2..2b7263a0 100644 --- a/Tiobon.Core.Model/Base/Ghre/Ghre_CourseWare.Dto.Base.cs +++ b/Tiobon.Core.Model/Base/Ghre/Ghre_CourseWare.Dto.Base.cs @@ -27,15 +27,15 @@ namespace Tiobon.Core.Model.Models { /// - /// 课程编号 + /// 课件编号 /// - [Display(Name = "CourseWareNo"), Description("课程编号"), MaxLength(32, ErrorMessage = "课程编号 不能超过 32 个字符")] + [Display(Name = "CourseWareNo"), Description("课件编号"), MaxLength(32, ErrorMessage = "课件编号 不能超过 32 个字符")] public string CourseWareNo { get; set; } /// - /// 课程名称 + /// 课件名称 /// - [Display(Name = "CourseWareName"), Description("课程名称"), MaxLength(32, ErrorMessage = "课程名称 不能超过 32 个字符")] + [Display(Name = "CourseWareName"), Description("课件名称"), MaxLength(32, ErrorMessage = "课件名称 不能超过 32 个字符")] public string CourseWareName { get; set; } /// @@ -62,9 +62,9 @@ namespace Tiobon.Core.Model.Models public int? Minutes { get; set; } /// - /// 秒 + /// 时 /// - public int? Seconds { get; set; } + public int? Hours { get; set; } /// /// 来源 diff --git a/Tiobon.Core.Model/Models/Ghre/Ghre_CourseWare.cs b/Tiobon.Core.Model/Models/Ghre/Ghre_CourseWare.cs index 6e13982f..73d728eb 100644 --- a/Tiobon.Core.Model/Models/Ghre/Ghre_CourseWare.cs +++ b/Tiobon.Core.Model/Models/Ghre/Ghre_CourseWare.cs @@ -13,7 +13,7 @@ *│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │ *│ 作者:SimonHsiao │ *└──────────────────────────────────┘ -*/ +*/ using System.ComponentModel; using System.ComponentModel.DataAnnotations; using SqlSugar; @@ -29,15 +29,15 @@ namespace Tiobon.Core.Model.Models { /// - /// 课程编号 + /// 课件编号 /// - [Display(Name = "CourseWareNo"), Description("课程编号"), MaxLength(32, ErrorMessage = "课程编号 不能超过 32 个字符")] + [Display(Name = "CourseWareNo"), Description("课件编号"), MaxLength(32, ErrorMessage = "课件编号 不能超过 32 个字符"), EntityColumn(Unique = true)] public string CourseWareNo { get; set; } /// - /// 课程名称 + /// 课件名称 /// - [Display(Name = "CourseWareName"), Description("课程名称"), MaxLength(32, ErrorMessage = "课程名称 不能超过 32 个字符")] + [Display(Name = "CourseWareName"), Description("课件名称"), MaxLength(32, ErrorMessage = "课件名称 不能超过 32 个字符")] public string CourseWareName { get; set; } /// @@ -64,9 +64,9 @@ namespace Tiobon.Core.Model.Models public int? Minutes { get; set; } /// - /// 秒 + /// 时 /// - public int? Seconds { get; set; } + public int? Hours { get; set; } /// /// 来源 diff --git a/Tiobon.Core.Model/ViewModels/Extend/Attachment.cs b/Tiobon.Core.Model/ViewModels/Extend/Attachment.cs new file mode 100644 index 00000000..5d7352e1 --- /dev/null +++ b/Tiobon.Core.Model/ViewModels/Extend/Attachment.cs @@ -0,0 +1,15 @@ +using System.Dynamic; +using Newtonsoft.Json.Linq; + +namespace Tiobon.Core.Model; + +public class Attachment +{ + public string AttachFileExtension { get; set; } + public long AttachFileSize { get; set; } + public int AttachmentID { get; set; } + public string AttachmentName { get; set; } + public string RelativePath { get; set; } + public string RemarkSz { get; set; } + +} \ No newline at end of file diff --git a/Tiobon.Core/Tiobon.Core.Model.xml b/Tiobon.Core/Tiobon.Core.Model.xml index ef722178..bb3858d2 100644 --- a/Tiobon.Core/Tiobon.Core.Model.xml +++ b/Tiobon.Core/Tiobon.Core.Model.xml @@ -582,12 +582,12 @@ - 课程编号 + 课件编号 - 课程名称 + 课件名称 @@ -2460,12 +2460,12 @@ - 课程编号 + 课件编号 - 课程名称 + 课件名称