课件表修改

master
xiaochanghai 1 year ago
parent 072116d27e
commit 360aef52df
  1. 20
      Model/Tiobon.Web.pdm
  2. 8
      Tiobon.Core.Api/Tiobon.Core.Model.xml
  3. 12
      Tiobon.Core.Model/Base/Ghre/Ghre_CourseWare.Dto.Base.cs
  4. 12
      Tiobon.Core.Model/Models/Ghre/Ghre_CourseWare.cs
  5. 15
      Tiobon.Core.Model/ViewModels/Extend/Attachment.cs
  6. 8
      Tiobon.Core/Tiobon.Core.Model.xml

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?PowerDesigner AppLocale="UTF16" ID="{C294868A-C3F3-41AD-98CC-78B6D4E0CC40}" Label="" LastModificationDate="1716540989" Name="一优开发平台" Objects="6582" Symbols="280" Target="Microsoft SQL Server 2008" Type="{CDE44E21-9669-11D1-9914-006097355D9B}" signature="PDM_DATA_MODEL_XML" version="15.0.0.2613"?>
<?PowerDesigner AppLocale="UTF16" ID="{C294868A-C3F3-41AD-98CC-78B6D4E0CC40}" Label="" LastModificationDate="1716779356" Name="一优开发平台" Objects="6582" Symbols="280" Target="Microsoft SQL Server 2008" Type="{CDE44E21-9669-11D1-9914-006097355D9B}" signature="PDM_DATA_MODEL_XML" version="15.0.0.2613"?>
<!-- do not edit this file -->
<Model xmlns:a="attribute" xmlns:c="collection" xmlns:o="object">
@ -111908,25 +111908,25 @@ LABL 0 Arial Unicode MS,8,N</a:FontList>
</o:Column>
<o:Column Id="o6817">
<a:ObjectID>C9C14EF8-907F-47FD-87FF-BFE6F764E96C</a:ObjectID>
<a:Name>课编号</a:Name>
<a:Name>课编号</a:Name>
<a:Code>CourseWareNo</a:Code>
<a:CreationDate>1716513643</a:CreationDate>
<a:Creator>Administrator</a:Creator>
<a:ModificationDate>1716514985</a:ModificationDate>
<a:ModificationDate>1716541657</a:ModificationDate>
<a:Modifier>Administrator</a:Modifier>
<a:Comment>课编号</a:Comment>
<a:Comment>课编号</a:Comment>
<a:DataType>nvarchar(32)</a:DataType>
<a:Length>32</a:Length>
</o:Column>
<o:Column Id="o6818">
<a:ObjectID>4486DA97-E4DF-4C46-82E5-59657ADA99C5</a:ObjectID>
<a:Name>课名称</a:Name>
<a:Name>课名称</a:Name>
<a:Code>CourseWareName</a:Code>
<a:CreationDate>1716513643</a:CreationDate>
<a:Creator>Administrator</a:Creator>
<a:ModificationDate>1716514985</a:ModificationDate>
<a:ModificationDate>1716541657</a:ModificationDate>
<a:Modifier>Administrator</a:Modifier>
<a:Comment>课名称</a:Comment>
<a:Comment>课名称</a:Comment>
<a:DataType>nvarchar(32)</a:DataType>
<a:Length>32</a:Length>
</o:Column>
@ -111979,11 +111979,11 @@ LABL 0 Arial Unicode MS,8,N</a:FontList>
</o:Column>
<o:Column Id="o6823">
<a:ObjectID>1B2AA2BF-D626-486D-A4A5-F04BB2215EFF</a:ObjectID>
<a:Name></a:Name>
<a:Code>Seconds</a:Code>
<a:Name></a:Name>
<a:Code>Hours</a:Code>
<a:CreationDate>1716515707</a:CreationDate>
<a:Creator>Administrator</a:Creator>
<a:ModificationDate>1716518329</a:ModificationDate>
<a:ModificationDate>1716779356</a:ModificationDate>
<a:Modifier>Administrator</a:Modifier>
<a:Comment>秒</a:Comment>
<a:DataType>int</a:DataType>

@ -582,12 +582,12 @@
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_CourseWareBase.CourseWareNo">
<summary>
编号
编号
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_CourseWareBase.CourseWareName">
<summary>
名称
名称
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_CourseWareBase.VersionNo">
@ -2460,12 +2460,12 @@
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_CourseWare.CourseWareNo">
<summary>
编号
编号
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_CourseWare.CourseWareName">
<summary>
名称
名称
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_CourseWare.VersionNo">

@ -27,15 +27,15 @@ namespace Tiobon.Core.Model.Models
{
/// <summary>
/// 课编号
/// 课编号
/// </summary>
[Display(Name = "CourseWareNo"), Description("课程编号"), MaxLength(32, ErrorMessage = "课程编号 不能超过 32 个字符")]
[Display(Name = "CourseWareNo"), Description("课件编号"), MaxLength(32, ErrorMessage = "课件编号 不能超过 32 个字符")]
public string CourseWareNo { get; set; }
/// <summary>
/// 课名称
/// 课名称
/// </summary>
[Display(Name = "CourseWareName"), Description("课程名称"), MaxLength(32, ErrorMessage = "课程名称 不能超过 32 个字符")]
[Display(Name = "CourseWareName"), Description("课件名称"), MaxLength(32, ErrorMessage = "课件名称 不能超过 32 个字符")]
public string CourseWareName { get; set; }
/// <summary>
@ -62,9 +62,9 @@ namespace Tiobon.Core.Model.Models
public int? Minutes { get; set; }
/// <summary>
///
///
/// </summary>
public int? Seconds { get; set; }
public int? Hours { get; set; }
/// <summary>
/// 来源

@ -29,15 +29,15 @@ namespace Tiobon.Core.Model.Models
{
/// <summary>
/// 课编号
/// 课编号
/// </summary>
[Display(Name = "CourseWareNo"), Description("课程编号"), MaxLength(32, ErrorMessage = "课程编号 不能超过 32 个字符")]
[Display(Name = "CourseWareNo"), Description("课件编号"), MaxLength(32, ErrorMessage = "课件编号 不能超过 32 个字符"), EntityColumn(Unique = true)]
public string CourseWareNo { get; set; }
/// <summary>
/// 课名称
/// 课名称
/// </summary>
[Display(Name = "CourseWareName"), Description("课程名称"), MaxLength(32, ErrorMessage = "课程名称 不能超过 32 个字符")]
[Display(Name = "CourseWareName"), Description("课件名称"), MaxLength(32, ErrorMessage = "课件名称 不能超过 32 个字符")]
public string CourseWareName { get; set; }
/// <summary>
@ -64,9 +64,9 @@ namespace Tiobon.Core.Model.Models
public int? Minutes { get; set; }
/// <summary>
///
///
/// </summary>
public int? Seconds { get; set; }
public int? Hours { get; set; }
/// <summary>
/// 来源

@ -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; }
}

@ -582,12 +582,12 @@
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_CourseWareBase.CourseWareNo">
<summary>
编号
编号
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_CourseWareBase.CourseWareName">
<summary>
名称
名称
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_CourseWareBase.VersionNo">
@ -2460,12 +2460,12 @@
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_CourseWare.CourseWareNo">
<summary>
编号
编号
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_CourseWare.CourseWareName">
<summary>
名称
名称
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_CourseWare.VersionNo">

Loading…
Cancel
Save