3.新增考试记录表

4.新增考试记录明细表
master
xiaochanghai 1 year ago
parent a6e9c5c179
commit 4153753c1c
  1. 5
      Model/Tiobon.Web.pdm
  2. 14
      Tiobon.Core.Api/Controllers/Ghre/Ghre_ExamRecordController.cs
  3. 14
      Tiobon.Core.Api/Controllers/Ghre/Ghre_ExamRecordDetailController.cs
  4. 12
      Tiobon.Core.IServices/Ghre/IGhre_ExamRecordDetailServices.cs
  5. 12
      Tiobon.Core.IServices/Ghre/IGhre_ExamRecordServices.cs
  6. 152
      Tiobon.Core.Model/Base/Ghre/Ghre_ExamRecord.Dto.Base.cs
  7. 142
      Tiobon.Core.Model/Base/Ghre/Ghre_ExamRecordDetail.Dto.Base.cs
  8. 27
      Tiobon.Core.Model/Edit/Ghre/Ghre_ExamRecord.Dto.EditInput.cs
  9. 27
      Tiobon.Core.Model/Edit/Ghre/Ghre_ExamRecordDetail.Dto.EditInput.cs
  10. 27
      Tiobon.Core.Model/Insert/Ghre/Ghre_ExamRecord.Dto.InsertInput.cs
  11. 27
      Tiobon.Core.Model/Insert/Ghre/Ghre_ExamRecordDetail.Dto.InsertInput.cs
  12. 154
      Tiobon.Core.Model/Models/Ghre/Ghre_ExamRecord.cs
  13. 144
      Tiobon.Core.Model/Models/Ghre/Ghre_ExamRecordDetail.cs
  14. 34
      Tiobon.Core.Model/View/Ghre/Ghre_ExamRecord.Dto.View.cs
  15. 34
      Tiobon.Core.Model/View/Ghre/Ghre_ExamRecordDetail.Dto.View.cs
  16. 23
      Tiobon.Core.Services/Ghre/Ghre_ExamRecordDetailServices.cs
  17. 23
      Tiobon.Core.Services/Ghre/Ghre_ExamRecordServices.cs

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<?PowerDesigner AppLocale="UTF16" ID="{C294868A-C3F3-41AD-98CC-78B6D4E0CC40}" Label="" LastModificationDate="1717031496" Name="一优开发平台" Objects="6673" Symbols="287" 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="1717148213" Name="一优开发平台" Objects="6660" Symbols="284" 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 --> <!-- do not edit this file -->
<Model xmlns:a="attribute" xmlns:c="collection" xmlns:o="object"> <Model xmlns:a="attribute" xmlns:c="collection" xmlns:o="object">
@ -108954,10 +108954,9 @@ LABL 0 Arial Unicode MS,8,N</a:FontList>
<a:Code>Score</a:Code> <a:Code>Score</a:Code>
<a:CreationDate>1714104130</a:CreationDate> <a:CreationDate>1714104130</a:CreationDate>
<a:Creator>Administrator</a:Creator> <a:Creator>Administrator</a:Creator>
<a:ModificationDate>1714118816</a:ModificationDate> <a:ModificationDate>1717148213</a:ModificationDate>
<a:Modifier>Administrator</a:Modifier> <a:Modifier>Administrator</a:Modifier>
<a:Comment>得分</a:Comment> <a:Comment>得分</a:Comment>
<a:DefaultValue>false</a:DefaultValue>
<a:DataType>decimal(20,2)</a:DataType> <a:DataType>decimal(20,2)</a:DataType>
<a:Length>20</a:Length> <a:Length>20</a:Length>
<a:Precision>2</a:Precision> <a:Precision>2</a:Precision>

@ -0,0 +1,14 @@
namespace Tiobon.Core.Api.Controllers;
/// <summary>
/// Ghre_ExamRecord(Controller)
/// </summary>
[Route("api/[controller]")]
[ApiController, GlobalActionFilter]
[Authorize(Permissions.Name), ApiExplorerSettings(GroupName = Grouping.GroupName_Ghre)]
public class Ghre_ExamRecordController : BaseController<IGhre_ExamRecordServices, Ghre_ExamRecord, Ghre_ExamRecordDto, InsertGhre_ExamRecordInput, EditGhre_ExamRecordInput>
{
public Ghre_ExamRecordController(IGhre_ExamRecordServices service) : base(service)
{
}
}

@ -0,0 +1,14 @@
namespace Tiobon.Core.Api.Controllers;
/// <summary>
/// Ghre_ExamRecordDetail(Controller)
/// </summary>
[Route("api/[controller]")]
[ApiController, GlobalActionFilter]
[Authorize(Permissions.Name), ApiExplorerSettings(GroupName = Grouping.GroupName_Ghre)]
public class Ghre_ExamRecordDetailController : BaseController<IGhre_ExamRecordDetailServices, Ghre_ExamRecordDetail, Ghre_ExamRecordDetailDto, InsertGhre_ExamRecordDetailInput, EditGhre_ExamRecordDetailInput>
{
public Ghre_ExamRecordDetailController(IGhre_ExamRecordDetailServices service) : base(service)
{
}
}

@ -0,0 +1,12 @@
using Tiobon.Core.IServices.BASE;
using Tiobon.Core.Model.Models;
namespace Tiobon.Core.IServices
{
/// <summary>
/// Ghre_ExamRecordDetail(自定义服务接口)
/// </summary>
public interface IGhre_ExamRecordDetailServices :IBaseServices<Ghre_ExamRecordDetail, Ghre_ExamRecordDetailDto, InsertGhre_ExamRecordDetailInput, EditGhre_ExamRecordDetailInput>
{
}
}

@ -0,0 +1,12 @@
using Tiobon.Core.IServices.BASE;
using Tiobon.Core.Model.Models;
namespace Tiobon.Core.IServices
{
/// <summary>
/// Ghre_ExamRecord(自定义服务接口)
/// </summary>
public interface IGhre_ExamRecordServices :IBaseServices<Ghre_ExamRecord, Ghre_ExamRecordDto, InsertGhre_ExamRecordInput, EditGhre_ExamRecordInput>
{
}
}

@ -0,0 +1,152 @@
/* ,
* Ghre_ExamRecord.cs
*
* N / A
* Ghre_ExamRecord
*
* Ver
*
*V0.01 2024/5/31 17:43:01 SimonHsiao
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*
*  
* SimonHsiao
*
*/
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Tiobon.Core.Model.Models
{
/// <summary>
/// Ghre_ExamRecord (Dto.Base)
/// </summary>
public class Ghre_ExamRecordBase
{
/// <summary>
/// 试卷ID
/// </summary>
public long? ExamId { get; set; }
/// <summary>
/// 用户ID
/// </summary>
public long? UserId { get; set; }
/// <summary>
/// 试卷ID
/// </summary>
public long? ExamPaperId { get; set; }
/// <summary>
/// 得分
/// </summary>
[Display(Name = "Score"), Description("得分"), Column(TypeName = "decimal(20,2)")]
public decimal? Score { get; set; }
/// <summary>
/// 开始答题时间
/// </summary>
public DateTime? BeginTime { get; set; }
/// <summary>
/// 结束答题时间
/// </summary>
public DateTime? EndTime { get; set; }
/// <summary>
/// 实际开始时间
/// </summary>
public DateTime? ActualBeginTime { get; set; }
/// <summary>
/// 实际结束时间
/// </summary>
public DateTime? ActualEndTime { get; set; }
/// <summary>
/// 备注
/// </summary>
[Display(Name = "RemarkSz"), Description("备注"), MaxLength(2000, ErrorMessage = "备注 不能超过 2000 个字符")]
public string RemarkSz { get; set; }
/// <summary>
/// 默认标志
/// </summary>
public int? IsDefault { get; set; }
/// <summary>
/// 预留字段1
/// </summary>
[Display(Name = "Reverse1"), Description("预留字段1"), MaxLength(1000, ErrorMessage = "预留字段1 不能超过 1000 个字符")]
public string Reverse1 { get; set; }
/// <summary>
/// 预留字段2
/// </summary>
[Display(Name = "Reverse2"), Description("预留字段2"), MaxLength(1000, ErrorMessage = "预留字段2 不能超过 1000 个字符")]
public string Reverse2 { get; set; }
/// <summary>
/// 预留字段3
/// </summary>
[Display(Name = "Reverse3"), Description("预留字段3"), MaxLength(1000, ErrorMessage = "预留字段3 不能超过 1000 个字符")]
public string Reverse3 { get; set; }
/// <summary>
/// 预留字段4
/// </summary>
[Display(Name = "Reverse4"), Description("预留字段4"), MaxLength(1000, ErrorMessage = "预留字段4 不能超过 1000 个字符")]
public string Reverse4 { get; set; }
/// <summary>
/// 预留字段5
/// </summary>
[Display(Name = "Reverse5"), Description("预留字段5"), MaxLength(1000, ErrorMessage = "预留字段5 不能超过 1000 个字符")]
public string Reverse5 { get; set; }
/// <summary>
/// 预留字段6
/// </summary>
[Display(Name = "Reverse6"), Description("预留字段6"), MaxLength(1000, ErrorMessage = "预留字段6 不能超过 1000 个字符")]
public string Reverse6 { get; set; }
/// <summary>
/// 预留字段7
/// </summary>
[Display(Name = "Reverse7"), Description("预留字段7"), MaxLength(1000, ErrorMessage = "预留字段7 不能超过 1000 个字符")]
public string Reverse7 { get; set; }
/// <summary>
/// 预留字段8
/// </summary>
[Display(Name = "Reverse8"), Description("预留字段8"), MaxLength(1000, ErrorMessage = "预留字段8 不能超过 1000 个字符")]
public string Reverse8 { get; set; }
/// <summary>
/// 预留字段9
/// </summary>
[Display(Name = "Reverse9"), Description("预留字段9"), MaxLength(1000, ErrorMessage = "预留字段9 不能超过 1000 个字符")]
public string Reverse9 { get; set; }
/// <summary>
/// 预留字段10
/// </summary>
[Display(Name = "Reverse10"), Description("预留字段10"), MaxLength(1000, ErrorMessage = "预留字段10 不能超过 1000 个字符")]
public string Reverse10 { get; set; }
/// <summary>
/// 预留字段11
/// </summary>
public int? ReverseI1 { get; set; }
/// <summary>
/// 预留字段12
/// </summary>
public int? ReverseI2 { get; set; }
}
}

@ -0,0 +1,142 @@
/* ,
* Ghre_ExamRecordDetail.cs
*
* N / A
* Ghre_ExamRecordDetail
*
* Ver
*
*V0.01 2024/5/31 17:42:51 SimonHsiao
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*
*  
* SimonHsiao
*
*/
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace Tiobon.Core.Model.Models
{
/// <summary>
/// Ghre_ExamRecordDetail (Dto.Base)
/// </summary>
public class Ghre_ExamRecordDetailBase
{
/// <summary>
/// 试卷ID
/// </summary>
public long? ExamPaperId { get; set; }
/// <summary>
/// 答题记录ID
/// </summary>
[Display(Name = "ExamRecordId"), Description("答题记录ID"), MaxLength(10, ErrorMessage = "答题记录ID 不能超过 10 个字符")]
public string ExamRecordId { get; set; }
/// <summary>
/// 题目ID
/// </summary>
public long? QuestionId { get; set; }
/// <summary>
/// 用户ID
/// </summary>
public long? UserId { get; set; }
/// <summary>
/// 题目答案ID
/// </summary>
public long? QuestionAnswerId { get; set; }
/// <summary>
/// 答案内容
/// </summary>
[Display(Name = "AnswerContent"), Description("答案内容"), MaxLength(32, ErrorMessage = "答案内容 不能超过 32 个字符")]
public string AnswerContent { get; set; }
/// <summary>
/// 备注
/// </summary>
[Display(Name = "RemarkSz"), Description("备注"), MaxLength(2000, ErrorMessage = "备注 不能超过 2000 个字符")]
public string RemarkSz { get; set; }
/// <summary>
/// 默认标志
/// </summary>
public int? IsDefault { get; set; }
/// <summary>
/// 预留字段1
/// </summary>
[Display(Name = "Reverse1"), Description("预留字段1"), MaxLength(1000, ErrorMessage = "预留字段1 不能超过 1000 个字符")]
public string Reverse1 { get; set; }
/// <summary>
/// 预留字段2
/// </summary>
[Display(Name = "Reverse2"), Description("预留字段2"), MaxLength(1000, ErrorMessage = "预留字段2 不能超过 1000 个字符")]
public string Reverse2 { get; set; }
/// <summary>
/// 预留字段3
/// </summary>
[Display(Name = "Reverse3"), Description("预留字段3"), MaxLength(1000, ErrorMessage = "预留字段3 不能超过 1000 个字符")]
public string Reverse3 { get; set; }
/// <summary>
/// 预留字段4
/// </summary>
[Display(Name = "Reverse4"), Description("预留字段4"), MaxLength(1000, ErrorMessage = "预留字段4 不能超过 1000 个字符")]
public string Reverse4 { get; set; }
/// <summary>
/// 预留字段5
/// </summary>
[Display(Name = "Reverse5"), Description("预留字段5"), MaxLength(1000, ErrorMessage = "预留字段5 不能超过 1000 个字符")]
public string Reverse5 { get; set; }
/// <summary>
/// 预留字段6
/// </summary>
[Display(Name = "Reverse6"), Description("预留字段6"), MaxLength(1000, ErrorMessage = "预留字段6 不能超过 1000 个字符")]
public string Reverse6 { get; set; }
/// <summary>
/// 预留字段7
/// </summary>
[Display(Name = "Reverse7"), Description("预留字段7"), MaxLength(1000, ErrorMessage = "预留字段7 不能超过 1000 个字符")]
public string Reverse7 { get; set; }
/// <summary>
/// 预留字段8
/// </summary>
[Display(Name = "Reverse8"), Description("预留字段8"), MaxLength(1000, ErrorMessage = "预留字段8 不能超过 1000 个字符")]
public string Reverse8 { get; set; }
/// <summary>
/// 预留字段9
/// </summary>
[Display(Name = "Reverse9"), Description("预留字段9"), MaxLength(1000, ErrorMessage = "预留字段9 不能超过 1000 个字符")]
public string Reverse9 { get; set; }
/// <summary>
/// 预留字段10
/// </summary>
[Display(Name = "Reverse10"), Description("预留字段10"), MaxLength(1000, ErrorMessage = "预留字段10 不能超过 1000 个字符")]
public string Reverse10 { get; set; }
/// <summary>
/// 预留字段11
/// </summary>
public int? ReverseI1 { get; set; }
/// <summary>
/// 预留字段12
/// </summary>
public int? ReverseI2 { get; set; }
}
}

@ -0,0 +1,27 @@
/* ,
* Ghre_ExamRecord.cs
*
* N / A
* Ghre_ExamRecord
*
* Ver
*
*V0.01 2024/5/31 17:43:01 SimonHsiao
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*
*  
* SimonHsiao
*
*/
namespace Tiobon.Core.Model.Models
{
/// <summary>
/// Ghre_ExamRecord (Dto.EditInput)
/// </summary>
public class EditGhre_ExamRecordInput : Ghre_ExamRecordBase
{
}
}

@ -0,0 +1,27 @@
/* ,
* Ghre_ExamRecordDetail.cs
*
* N / A
* Ghre_ExamRecordDetail
*
* Ver
*
*V0.01 2024/5/31 17:42:51 SimonHsiao
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*
*  
* SimonHsiao
*
*/
namespace Tiobon.Core.Model.Models
{
/// <summary>
/// Ghre_ExamRecordDetail (Dto.EditInput)
/// </summary>
public class EditGhre_ExamRecordDetailInput : Ghre_ExamRecordDetailBase
{
}
}

@ -0,0 +1,27 @@
/* ,
* Ghre_ExamRecord.cs
*
* N / A
* Ghre_ExamRecord
*
* Ver
*
*V0.01 2024/5/31 17:43:01 SimonHsiao
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*
*  
* SimonHsiao
*
*/
namespace Tiobon.Core.Model.Models
{
/// <summary>
/// Ghre_ExamRecord (Dto.InsertInput)
/// </summary>
public class InsertGhre_ExamRecordInput : Ghre_ExamRecordBase
{
}
}

@ -0,0 +1,27 @@
/* ,
* Ghre_ExamRecordDetail.cs
*
* N / A
* Ghre_ExamRecordDetail
*
* Ver
*
*V0.01 2024/5/31 17:42:51 SimonHsiao
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*
*  
* SimonHsiao
*
*/
namespace Tiobon.Core.Model.Models
{
/// <summary>
/// Ghre_ExamRecordDetail (Dto.InsertInput)
/// </summary>
public class InsertGhre_ExamRecordDetailInput : Ghre_ExamRecordDetailBase
{
}
}

@ -0,0 +1,154 @@
/* ,
* Ghre_ExamRecord.cs
*
* N / A
* Ghre_ExamRecord
*
* Ver
*
*V0.01 2024/5/31 17:43:01 SimonHsiao
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*
*  
* SimonHsiao
*
*/
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using SqlSugar;
namespace Tiobon.Core.Model.Models
{
/// <summary>
/// Ghre_ExamRecord (Model)
/// </summary>
[SugarTable("Ghre_ExamRecord", "Ghre_ExamRecord"), Entity(TableCnName = "Ghre_ExamRecord", TableName = "Ghre_ExamRecord")]
public class Ghre_ExamRecord : BasePoco
{
/// <summary>
/// 试卷ID
/// </summary>
public long? ExamId { get; set; }
/// <summary>
/// 用户ID
/// </summary>
public long? UserId { get; set; }
/// <summary>
/// 试卷ID
/// </summary>
public long? ExamPaperId { get; set; }
/// <summary>
/// 得分
/// </summary>
[Display(Name = "Score"), Description("得分"), Column(TypeName = "decimal(20,2)")]
public decimal? Score { get; set; }
/// <summary>
/// 开始答题时间
/// </summary>
public DateTime? BeginTime { get; set; }
/// <summary>
/// 结束答题时间
/// </summary>
public DateTime? EndTime { get; set; }
/// <summary>
/// 实际开始时间
/// </summary>
public DateTime? ActualBeginTime { get; set; }
/// <summary>
/// 实际结束时间
/// </summary>
public DateTime? ActualEndTime { get; set; }
/// <summary>
/// 备注
/// </summary>
[Display(Name = "RemarkSz"), Description("备注"), MaxLength(2000, ErrorMessage = "备注 不能超过 2000 个字符")]
public string RemarkSz { get; set; }
/// <summary>
/// 默认标志
/// </summary>
public int? IsDefault { get; set; }
/// <summary>
/// 预留字段1
/// </summary>
[Display(Name = "Reverse1"), Description("预留字段1"), MaxLength(1000, ErrorMessage = "预留字段1 不能超过 1000 个字符")]
public string Reverse1 { get; set; }
/// <summary>
/// 预留字段2
/// </summary>
[Display(Name = "Reverse2"), Description("预留字段2"), MaxLength(1000, ErrorMessage = "预留字段2 不能超过 1000 个字符")]
public string Reverse2 { get; set; }
/// <summary>
/// 预留字段3
/// </summary>
[Display(Name = "Reverse3"), Description("预留字段3"), MaxLength(1000, ErrorMessage = "预留字段3 不能超过 1000 个字符")]
public string Reverse3 { get; set; }
/// <summary>
/// 预留字段4
/// </summary>
[Display(Name = "Reverse4"), Description("预留字段4"), MaxLength(1000, ErrorMessage = "预留字段4 不能超过 1000 个字符")]
public string Reverse4 { get; set; }
/// <summary>
/// 预留字段5
/// </summary>
[Display(Name = "Reverse5"), Description("预留字段5"), MaxLength(1000, ErrorMessage = "预留字段5 不能超过 1000 个字符")]
public string Reverse5 { get; set; }
/// <summary>
/// 预留字段6
/// </summary>
[Display(Name = "Reverse6"), Description("预留字段6"), MaxLength(1000, ErrorMessage = "预留字段6 不能超过 1000 个字符")]
public string Reverse6 { get; set; }
/// <summary>
/// 预留字段7
/// </summary>
[Display(Name = "Reverse7"), Description("预留字段7"), MaxLength(1000, ErrorMessage = "预留字段7 不能超过 1000 个字符")]
public string Reverse7 { get; set; }
/// <summary>
/// 预留字段8
/// </summary>
[Display(Name = "Reverse8"), Description("预留字段8"), MaxLength(1000, ErrorMessage = "预留字段8 不能超过 1000 个字符")]
public string Reverse8 { get; set; }
/// <summary>
/// 预留字段9
/// </summary>
[Display(Name = "Reverse9"), Description("预留字段9"), MaxLength(1000, ErrorMessage = "预留字段9 不能超过 1000 个字符")]
public string Reverse9 { get; set; }
/// <summary>
/// 预留字段10
/// </summary>
[Display(Name = "Reverse10"), Description("预留字段10"), MaxLength(1000, ErrorMessage = "预留字段10 不能超过 1000 个字符")]
public string Reverse10 { get; set; }
/// <summary>
/// 预留字段11
/// </summary>
public int? ReverseI1 { get; set; }
/// <summary>
/// 预留字段12
/// </summary>
public int? ReverseI2 { get; set; }
}
}

@ -0,0 +1,144 @@
/* ,
* Ghre_ExamRecordDetail.cs
*
* N / A
* Ghre_ExamRecordDetail
*
* Ver
*
*V0.01 2024/5/31 17:42:51 SimonHsiao
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*
*  
* SimonHsiao
*
*/
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using SqlSugar;
namespace Tiobon.Core.Model.Models
{
/// <summary>
/// Ghre_ExamRecordDetail (Model)
/// </summary>
[SugarTable("Ghre_ExamRecordDetail", "Ghre_ExamRecordDetail"), Entity(TableCnName = "Ghre_ExamRecordDetail", TableName = "Ghre_ExamRecordDetail")]
public class Ghre_ExamRecordDetail : BasePoco
{
/// <summary>
/// 试卷ID
/// </summary>
public long? ExamPaperId { get; set; }
/// <summary>
/// 答题记录ID
/// </summary>
[Display(Name = "ExamRecordId"), Description("答题记录ID"), MaxLength(10, ErrorMessage = "答题记录ID 不能超过 10 个字符")]
public string ExamRecordId { get; set; }
/// <summary>
/// 题目ID
/// </summary>
public long? QuestionId { get; set; }
/// <summary>
/// 用户ID
/// </summary>
public long? UserId { get; set; }
/// <summary>
/// 题目答案ID
/// </summary>
public long? QuestionAnswerId { get; set; }
/// <summary>
/// 答案内容
/// </summary>
[Display(Name = "AnswerContent"), Description("答案内容"), MaxLength(32, ErrorMessage = "答案内容 不能超过 32 个字符")]
public string AnswerContent { get; set; }
/// <summary>
/// 备注
/// </summary>
[Display(Name = "RemarkSz"), Description("备注"), MaxLength(2000, ErrorMessage = "备注 不能超过 2000 个字符")]
public string RemarkSz { get; set; }
/// <summary>
/// 默认标志
/// </summary>
public int? IsDefault { get; set; }
/// <summary>
/// 预留字段1
/// </summary>
[Display(Name = "Reverse1"), Description("预留字段1"), MaxLength(1000, ErrorMessage = "预留字段1 不能超过 1000 个字符")]
public string Reverse1 { get; set; }
/// <summary>
/// 预留字段2
/// </summary>
[Display(Name = "Reverse2"), Description("预留字段2"), MaxLength(1000, ErrorMessage = "预留字段2 不能超过 1000 个字符")]
public string Reverse2 { get; set; }
/// <summary>
/// 预留字段3
/// </summary>
[Display(Name = "Reverse3"), Description("预留字段3"), MaxLength(1000, ErrorMessage = "预留字段3 不能超过 1000 个字符")]
public string Reverse3 { get; set; }
/// <summary>
/// 预留字段4
/// </summary>
[Display(Name = "Reverse4"), Description("预留字段4"), MaxLength(1000, ErrorMessage = "预留字段4 不能超过 1000 个字符")]
public string Reverse4 { get; set; }
/// <summary>
/// 预留字段5
/// </summary>
[Display(Name = "Reverse5"), Description("预留字段5"), MaxLength(1000, ErrorMessage = "预留字段5 不能超过 1000 个字符")]
public string Reverse5 { get; set; }
/// <summary>
/// 预留字段6
/// </summary>
[Display(Name = "Reverse6"), Description("预留字段6"), MaxLength(1000, ErrorMessage = "预留字段6 不能超过 1000 个字符")]
public string Reverse6 { get; set; }
/// <summary>
/// 预留字段7
/// </summary>
[Display(Name = "Reverse7"), Description("预留字段7"), MaxLength(1000, ErrorMessage = "预留字段7 不能超过 1000 个字符")]
public string Reverse7 { get; set; }
/// <summary>
/// 预留字段8
/// </summary>
[Display(Name = "Reverse8"), Description("预留字段8"), MaxLength(1000, ErrorMessage = "预留字段8 不能超过 1000 个字符")]
public string Reverse8 { get; set; }
/// <summary>
/// 预留字段9
/// </summary>
[Display(Name = "Reverse9"), Description("预留字段9"), MaxLength(1000, ErrorMessage = "预留字段9 不能超过 1000 个字符")]
public string Reverse9 { get; set; }
/// <summary>
/// 预留字段10
/// </summary>
[Display(Name = "Reverse10"), Description("预留字段10"), MaxLength(1000, ErrorMessage = "预留字段10 不能超过 1000 个字符")]
public string Reverse10 { get; set; }
/// <summary>
/// 预留字段11
/// </summary>
public int? ReverseI1 { get; set; }
/// <summary>
/// 预留字段12
/// </summary>
public int? ReverseI2 { get; set; }
}
}

@ -0,0 +1,34 @@
/* ,
* Ghre_ExamRecord.cs
*
* N / A
* Ghre_ExamRecord
*
* Ver
*
*V0.01 2024/5/31 17:43:01 SimonHsiao
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*
*  
* SimonHsiao
*
*/
namespace Tiobon.Core.Model.Models;
/// <summary>
/// Ghre_ExamRecord(Dto.View)
/// </summary>
public class Ghre_ExamRecordDto : Ghre_ExamRecord
{
/// <summary>
/// 创建信息
/// </summary>
public string CreateDataInfo { get; set; }
/// <summary>
/// 修改信息
/// </summary>
public string UpdateDataInfo { get; set; }
}

@ -0,0 +1,34 @@
/* ,
* Ghre_ExamRecordDetail.cs
*
* N / A
* Ghre_ExamRecordDetail
*
* Ver
*
*V0.01 2024/5/31 17:42:51 SimonHsiao
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*
*  
* SimonHsiao
*
*/
namespace Tiobon.Core.Model.Models;
/// <summary>
/// Ghre_ExamRecordDetail(Dto.View)
/// </summary>
public class Ghre_ExamRecordDetailDto : Ghre_ExamRecordDetail
{
/// <summary>
/// 创建信息
/// </summary>
public string CreateDataInfo { get; set; }
/// <summary>
/// 修改信息
/// </summary>
public string UpdateDataInfo { get; set; }
}

@ -0,0 +1,23 @@

using Tiobon.Core.IServices;
using Tiobon.Core.Model.Models;
using Tiobon.Core.Services.BASE;
using Tiobon.Core.IRepository.Base;
using Tiobon.Core.Common.Caches;
namespace Tiobon.Core.Services
{
/// <summary>
/// Ghre_ExamRecordDetail (服务)
/// </summary>
public class Ghre_ExamRecordDetailServices : BaseServices<Ghre_ExamRecordDetail, Ghre_ExamRecordDetailDto, InsertGhre_ExamRecordDetailInput, EditGhre_ExamRecordDetailInput>, IGhre_ExamRecordDetailServices
{
private readonly IBaseRepository<Ghre_ExamRecordDetail> _dal;
public Ghre_ExamRecordDetailServices(ICaching caching, IBaseRepository<Ghre_ExamRecordDetail> dal)
{
this._dal = dal;
base.BaseDal = dal;
base._caching = caching;
}
}
}

@ -0,0 +1,23 @@

using Tiobon.Core.IServices;
using Tiobon.Core.Model.Models;
using Tiobon.Core.Services.BASE;
using Tiobon.Core.IRepository.Base;
using Tiobon.Core.Common.Caches;
namespace Tiobon.Core.Services
{
/// <summary>
/// Ghre_ExamRecord (服务)
/// </summary>
public class Ghre_ExamRecordServices : BaseServices<Ghre_ExamRecord, Ghre_ExamRecordDto, InsertGhre_ExamRecordInput, EditGhre_ExamRecordInput>, IGhre_ExamRecordServices
{
private readonly IBaseRepository<Ghre_ExamRecord> _dal;
public Ghre_ExamRecordServices(ICaching caching, IBaseRepository<Ghre_ExamRecord> dal)
{
this._dal = dal;
base.BaseDal = dal;
base._caching = caching;
}
}
}
Loading…
Cancel
Save