培训讲师异动

master
xiaochanghai 9 months ago
parent 0eeab1033e
commit bf1eecae0f
  1. 5536
      Model/Tiobon.Web.pdm
  2. 14
      Tiobon.Core.Api/Controllers/Ghre/Ghre_TeacherChangeAttachmentController.cs
  3. 14
      Tiobon.Core.Api/Controllers/Ghre/Ghre_TeacherChangeController.cs
  4. 1792
      Tiobon.Core.Api/Tiobon.Core.Model.xml
  5. 10
      Tiobon.Core.Api/Tiobon.Core.xml
  6. 12
      Tiobon.Core.IServices/Ghre/IGhre_TeacherChangeAttachmentServices.cs
  7. 12
      Tiobon.Core.IServices/Ghre/IGhre_TeacherChangeServices.cs
  8. 320
      Tiobon.Core.Model/Base/Ghre/Ghre_TeacherChange.Dto.Base.cs
  9. 137
      Tiobon.Core.Model/Base/Ghre/Ghre_TeacherChangeAttachment.Dto.Base.cs
  10. 27
      Tiobon.Core.Model/Edit/Ghre/Ghre_TeacherChange.Dto.EditInput.cs
  11. 27
      Tiobon.Core.Model/Edit/Ghre/Ghre_TeacherChangeAttachment.Dto.EditInput.cs
  12. 27
      Tiobon.Core.Model/Insert/Ghre/Ghre_TeacherChange.Dto.InsertInput.cs
  13. 27
      Tiobon.Core.Model/Insert/Ghre/Ghre_TeacherChangeAttachment.Dto.InsertInput.cs
  14. 322
      Tiobon.Core.Model/Models/Ghre/Ghre_TeacherChange.cs
  15. 139
      Tiobon.Core.Model/Models/Ghre/Ghre_TeacherChangeAttachment.cs
  16. 34
      Tiobon.Core.Model/View/Ghre/Ghre_TeacherChange.Dto.View.cs
  17. 34
      Tiobon.Core.Model/View/Ghre/Ghre_TeacherChangeAttachment.Dto.View.cs
  18. 23
      Tiobon.Core.Services/Ghre/Ghre_TeacherChangeAttachmentServices.cs
  19. 23
      Tiobon.Core.Services/Ghre/Ghre_TeacherChangeServices.cs

File diff suppressed because it is too large Load Diff

@ -0,0 +1,14 @@
namespace Tiobon.Core.Api.Controllers;
/// <summary>
/// 培训讲师异动附件(Controller)
/// </summary>
[Route("api/[controller]")]
[ApiController, GlobalActionFilter]
[Authorize(Permissions.Name), ApiExplorerSettings(GroupName = Grouping.GroupName_Ghre)]
public class Ghre_TeacherChangeAttachmentController : BaseController<IGhre_TeacherChangeAttachmentServices, Ghre_TeacherChangeAttachment, Ghre_TeacherChangeAttachmentDto, InsertGhre_TeacherChangeAttachmentInput, EditGhre_TeacherChangeAttachmentInput>
{
public Ghre_TeacherChangeAttachmentController(IGhre_TeacherChangeAttachmentServices service) : base(service)
{
}
}

@ -0,0 +1,14 @@
namespace Tiobon.Core.Api.Controllers;
/// <summary>
/// 培训讲师异动(Controller)
/// </summary>
[Route("api/[controller]")]
[ApiController, GlobalActionFilter]
[Authorize(Permissions.Name), ApiExplorerSettings(GroupName = Grouping.GroupName_Ghre)]
public class Ghre_TeacherChangeController : BaseController<IGhre_TeacherChangeServices, Ghre_TeacherChange, Ghre_TeacherChangeDto, InsertGhre_TeacherChangeInput, EditGhre_TeacherChangeInput>
{
public Ghre_TeacherChangeController(IGhre_TeacherChangeServices service) : base(service)
{
}
}

File diff suppressed because it is too large Load Diff

@ -1105,6 +1105,16 @@
Ghre_TeacherAttachment(Controller)
</summary>
</member>
<member name="T:Tiobon.Core.Api.Controllers.Ghre_TeacherChangeAttachmentController">
<summary>
培训讲师异动附件(Controller)
</summary>
</member>
<member name="T:Tiobon.Core.Api.Controllers.Ghre_TeacherChangeController">
<summary>
培训讲师异动(Controller)
</summary>
</member>
<member name="T:Tiobon.Core.Api.Controllers.Ghre_TeacherController">
<summary>
Ghre_Teacher(Controller)

@ -0,0 +1,12 @@
using Tiobon.Core.IServices.BASE;
using Tiobon.Core.Model.Models;
namespace Tiobon.Core.IServices
{
/// <summary>
/// 培训讲师异动附件(自定义服务接口)
/// </summary>
public interface IGhre_TeacherChangeAttachmentServices :IBaseServices<Ghre_TeacherChangeAttachment, Ghre_TeacherChangeAttachmentDto, InsertGhre_TeacherChangeAttachmentInput, EditGhre_TeacherChangeAttachmentInput>
{
}
}

@ -0,0 +1,12 @@
using Tiobon.Core.IServices.BASE;
using Tiobon.Core.Model.Models;
namespace Tiobon.Core.IServices
{
/// <summary>
/// 培训讲师异动(自定义服务接口)
/// </summary>
public interface IGhre_TeacherChangeServices :IBaseServices<Ghre_TeacherChange, Ghre_TeacherChangeDto, InsertGhre_TeacherChangeInput, EditGhre_TeacherChangeInput>
{
}
}

@ -0,0 +1,320 @@
/* ,
* Ghre_TeacherChange.cs
*
* N / A
* Ghre_TeacherChange
*
* Ver
*
*V0.01 2024/9/26 16:09:52 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>
/// 培训讲师异动 (Dto.Base)
/// </summary>
public class Ghre_TeacherChangeBase
{
/// <summary>
/// 机构ID
/// </summary>
public long? TeacherId { get; set; }
/// <summary>
/// 原调动类别
/// </summary>
[Display(Name = "OriginChangeType"), Description("原调动类别"), MaxLength(32, ErrorMessage = "原调动类别 不能超过 32 个字符")]
public string OriginChangeType { get; set; }
/// <summary>
/// 调动类别
/// </summary>
[Display(Name = "ChangeType"), Description("调动类别"), MaxLength(32, ErrorMessage = "调动类别 不能超过 32 个字符")]
public string ChangeType { get; set; }
/// <summary>
/// 原调动日期
/// </summary>
[Display(Name = "OriginChangeDate"), Description("原调动日期"), MaxLength(32, ErrorMessage = "原调动日期 不能超过 32 个字符")]
public string OriginChangeDate { get; set; }
/// <summary>
/// 调动日期
/// </summary>
public DateTime? ChangeDate { get; set; }
/// <summary>
/// 部门ID
/// </summary>
public int? DeptID { get; set; }
/// <summary>
/// 员工ID
/// </summary>
public int? StaffId { get; set; }
/// <summary>
/// 讲师分类
/// </summary>
[Display(Name = "TeacherType"), Description("讲师分类"), MaxLength(32, ErrorMessage = "讲师分类 不能超过 32 个字符")]
public string TeacherType { get; set; }
/// <summary>
/// 机构编号
/// </summary>
[Display(Name = "TeacherNo"), Description("机构编号"), MaxLength(32, ErrorMessage = "机构编号 不能超过 32 个字符")]
public string TeacherNo { get; set; }
/// <summary>
/// 机构名称
/// </summary>
[Display(Name = "TeacherName"), Description("机构名称"), MaxLength(32, ErrorMessage = "机构名称 不能超过 32 个字符")]
public string TeacherName { get; set; }
/// <summary>
/// 员工照片
/// </summary>
[Display(Name = "PhotoUrl"), Description("员工照片"), MaxLength(256, ErrorMessage = "员工照片 不能超过 256 个字符")]
public string PhotoUrl { get; set; }
/// <summary>
/// 性别
/// </summary>
[Display(Name = "Gender"), Description("性别"), MaxLength(32, ErrorMessage = "性别 不能超过 32 个字符")]
public string Gender { get; set; }
/// <summary>
/// 邮箱
/// </summary>
[Display(Name = "Email"), Description("邮箱"), MaxLength(64, ErrorMessage = "邮箱 不能超过 64 个字符")]
public string Email { get; set; }
/// <summary>
/// 手机号码
/// </summary>
[Display(Name = "Mobile"), Description("手机号码"), MaxLength(32, ErrorMessage = "手机号码 不能超过 32 个字符")]
public string Mobile { get; set; }
/// <summary>
/// 讲师等级
/// </summary>
[Display(Name = "OriginTeacherLevel"), Description("讲师等级"), MaxLength(32, ErrorMessage = "讲师等级 不能超过 32 个字符")]
public string OriginTeacherLevel { get; set; }
/// <summary>
/// 讲师等级
/// </summary>
[Display(Name = "TeacherLevel"), Description("讲师等级"), MaxLength(32, ErrorMessage = "讲师等级 不能超过 32 个字符")]
public string TeacherLevel { get; set; }
/// <summary>
/// 课时费
/// </summary>
[Display(Name = "OriginPrice"), Description("课时费"), Column(TypeName = "decimal(20,2)")]
public decimal? OriginPrice { get; set; }
/// <summary>
/// 课时费
/// </summary>
[Display(Name = "Price"), Description("课时费"), Column(TypeName = "decimal(20,2)")]
public decimal? Price { get; set; }
/// <summary>
/// 擅长领域
/// </summary>
[Display(Name = "OriginSkillPoints"), Description("擅长领域"), MaxLength(256, ErrorMessage = "擅长领域 不能超过 256 个字符")]
public string OriginSkillPoints { get; set; }
/// <summary>
/// 擅长领域
/// </summary>
[Display(Name = "SkillPoints"), Description("擅长领域"), MaxLength(256, ErrorMessage = "擅长领域 不能超过 256 个字符")]
public string SkillPoints { get; set; }
/// <summary>
/// 备注
/// </summary>
[Display(Name = "RemarkSz"), Description("备注"), MaxLength(2000, ErrorMessage = "备注 不能超过 2000 个字符")]
public string RemarkSz { get; set; }
/// <summary>
/// 申请理由
/// </summary>
[Display(Name = "ApplyReason"), Description("申请理由"), MaxLength(2000, ErrorMessage = "申请理由 不能超过 2000 个字符")]
public string ApplyReason { get; set; }
/// <summary>
/// 状态
/// </summary>
[Display(Name = "Status"), Description("状态"), MaxLength(32, ErrorMessage = "状态 不能超过 32 个字符")]
public string Status { get; set; }
/// <summary>
/// 默认标志
/// </summary>
public int? IsDefault { get; set; }
/// <summary>
/// WorkID
/// </summary>
public int? WorkID { get; set; }
/// <summary>
/// WorkNo
/// </summary>
[Display(Name = "WorkNo"), Description("WorkNo"), MaxLength(100, ErrorMessage = "WorkNo 不能超过 100 个字符")]
public string WorkNo { get; set; }
/// <summary>
/// ToDoType
/// </summary>
[Display(Name = "ToDoType"), Description("ToDoType"), MaxLength(100, ErrorMessage = "ToDoType 不能超过 100 个字符")]
public string ToDoType { get; set; }
/// <summary>
/// BatchSID
/// </summary>
[Display(Name = "BatchSID"), Description("BatchSID"), MaxLength(100, ErrorMessage = "BatchSID 不能超过 100 个字符")]
public string BatchSID { get; set; }
/// <summary>
/// WorkState
/// </summary>
public int? WorkState { get; set; }
/// <summary>
/// ShiftID
/// </summary>
public int? ShiftID { get; set; }
/// <summary>
/// ConfirmUserID
/// </summary>
public int? ConfirmUserID { get; set; }
/// <summary>
/// ConfirmTime
/// </summary>
public DateTime? ConfirmTime { get; set; }
/// <summary>
/// ConfirmComment
/// </summary>
[Display(Name = "ConfirmComment"), Description("ConfirmComment"), MaxLength(2000, ErrorMessage = "ConfirmComment 不能超过 2000 个字符")]
public string ConfirmComment { get; set; }
/// <summary>
/// 同意人
/// </summary>
public long? AgreeUserId { get; set; }
/// <summary>
/// 同意时间
/// </summary>
public DateTime? AgreeTime { get; set; }
/// <summary>
/// 同意理由
/// </summary>
[Display(Name = "AgreeReason"), Description("同意理由"), MaxLength(2000, ErrorMessage = "同意理由 不能超过 2000 个字符")]
public string AgreeReason { get; set; }
/// <summary>
/// 拒绝人
/// </summary>
public long? RefuseUserId { get; set; }
/// <summary>
/// 拒绝时间
/// </summary>
public DateTime? RefuseTime { get; set; }
/// <summary>
/// 拒绝理由
/// </summary>
[Display(Name = "RefuseReason"), Description("拒绝理由"), MaxLength(2000, ErrorMessage = "拒绝理由 不能超过 2000 个字符")]
public string RefuseReason { 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,137 @@
/* ,
* Ghre_TeacherChangeAttachment.cs
*
* N / A
* Ghre_TeacherChangeAttachment
*
* Ver
*
*V0.01 2024/9/26 16:09:29 SimonHsiao
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*
*  
* SimonHsiao
*
*/
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace Tiobon.Core.Model.Models
{
/// <summary>
/// 培训讲师异动附件 (Dto.Base)
/// </summary>
public class Ghre_TeacherChangeAttachmentBase
{
/// <summary>
/// 讲师异动ID
/// </summary>
public long? TeacherChangeId { get; set; }
/// <summary>
/// 编号
/// </summary>
[Display(Name = "CertificateNo"), Description("编号"), MaxLength(32, ErrorMessage = "编号 不能超过 32 个字符")]
public string CertificateNo { get; set; }
/// <summary>
/// 名称
/// </summary>
[Display(Name = "CertificateName"), Description("名称"), MaxLength(32, ErrorMessage = "名称 不能超过 32 个字符")]
public string CertificateName { get; set; }
/// <summary>
/// 生效日期
/// </summary>
public DateTime? EffectiveDate { get; set; }
/// <summary>
/// 失效日期
/// </summary>
public DateTime? ExpirationDate { 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_TeacherChange.cs
*
* N / A
* Ghre_TeacherChange
*
* Ver
*
*V0.01 2024/9/26 16:09:52 SimonHsiao
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*
*  
* SimonHsiao
*
*/
namespace Tiobon.Core.Model.Models
{
/// <summary>
/// 培训讲师异动 (Dto.EditInput)
/// </summary>
public class EditGhre_TeacherChangeInput : Ghre_TeacherChangeBase
{
}
}

@ -0,0 +1,27 @@
/* ,
* Ghre_TeacherChangeAttachment.cs
*
* N / A
* Ghre_TeacherChangeAttachment
*
* Ver
*
*V0.01 2024/9/26 16:09:29 SimonHsiao
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*
*  
* SimonHsiao
*
*/
namespace Tiobon.Core.Model.Models
{
/// <summary>
/// 培训讲师异动附件 (Dto.EditInput)
/// </summary>
public class EditGhre_TeacherChangeAttachmentInput : Ghre_TeacherChangeAttachmentBase
{
}
}

@ -0,0 +1,27 @@
/* ,
* Ghre_TeacherChange.cs
*
* N / A
* Ghre_TeacherChange
*
* Ver
*
*V0.01 2024/9/26 16:09:52 SimonHsiao
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*
*  
* SimonHsiao
*
*/
namespace Tiobon.Core.Model.Models
{
/// <summary>
/// 培训讲师异动 (Dto.InsertInput)
/// </summary>
public class InsertGhre_TeacherChangeInput : Ghre_TeacherChangeBase
{
}
}

@ -0,0 +1,27 @@
/* ,
* Ghre_TeacherChangeAttachment.cs
*
* N / A
* Ghre_TeacherChangeAttachment
*
* Ver
*
*V0.01 2024/9/26 16:09:29 SimonHsiao
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*
*  
* SimonHsiao
*
*/
namespace Tiobon.Core.Model.Models
{
/// <summary>
/// 培训讲师异动附件 (Dto.InsertInput)
/// </summary>
public class InsertGhre_TeacherChangeAttachmentInput : Ghre_TeacherChangeAttachmentBase
{
}
}

@ -0,0 +1,322 @@
/* ,
* Ghre_TeacherChange.cs
*
* N / A
* Ghre_TeacherChange
*
* Ver
*
*V0.01 2024/9/26 16:09:52 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>
/// 培训讲师异动 (Model)
/// </summary>
[SugarTable("Ghre_TeacherChange", "Ghre_TeacherChange"), Entity(TableCnName = "培训讲师异动", TableName = "Ghre_TeacherChange")]
public class Ghre_TeacherChange : BasePoco
{
/// <summary>
/// 机构ID
/// </summary>
public long? TeacherId { get; set; }
/// <summary>
/// 原调动类别
/// </summary>
[Display(Name = "OriginChangeType"), Description("原调动类别"), MaxLength(32, ErrorMessage = "原调动类别 不能超过 32 个字符")]
public string OriginChangeType { get; set; }
/// <summary>
/// 调动类别
/// </summary>
[Display(Name = "ChangeType"), Description("调动类别"), MaxLength(32, ErrorMessage = "调动类别 不能超过 32 个字符")]
public string ChangeType { get; set; }
/// <summary>
/// 原调动日期
/// </summary>
[Display(Name = "OriginChangeDate"), Description("原调动日期"), MaxLength(32, ErrorMessage = "原调动日期 不能超过 32 个字符")]
public string OriginChangeDate { get; set; }
/// <summary>
/// 调动日期
/// </summary>
public DateTime? ChangeDate { get; set; }
/// <summary>
/// 部门ID
/// </summary>
public int? DeptID { get; set; }
/// <summary>
/// 员工ID
/// </summary>
public int? StaffId { get; set; }
/// <summary>
/// 讲师分类
/// </summary>
[Display(Name = "TeacherType"), Description("讲师分类"), MaxLength(32, ErrorMessage = "讲师分类 不能超过 32 个字符")]
public string TeacherType { get; set; }
/// <summary>
/// 机构编号
/// </summary>
[Display(Name = "TeacherNo"), Description("机构编号"), MaxLength(32, ErrorMessage = "机构编号 不能超过 32 个字符")]
public string TeacherNo { get; set; }
/// <summary>
/// 机构名称
/// </summary>
[Display(Name = "TeacherName"), Description("机构名称"), MaxLength(32, ErrorMessage = "机构名称 不能超过 32 个字符")]
public string TeacherName { get; set; }
/// <summary>
/// 员工照片
/// </summary>
[Display(Name = "PhotoUrl"), Description("员工照片"), MaxLength(256, ErrorMessage = "员工照片 不能超过 256 个字符")]
public string PhotoUrl { get; set; }
/// <summary>
/// 性别
/// </summary>
[Display(Name = "Gender"), Description("性别"), MaxLength(32, ErrorMessage = "性别 不能超过 32 个字符")]
public string Gender { get; set; }
/// <summary>
/// 邮箱
/// </summary>
[Display(Name = "Email"), Description("邮箱"), MaxLength(64, ErrorMessage = "邮箱 不能超过 64 个字符")]
public string Email { get; set; }
/// <summary>
/// 手机号码
/// </summary>
[Display(Name = "Mobile"), Description("手机号码"), MaxLength(32, ErrorMessage = "手机号码 不能超过 32 个字符")]
public string Mobile { get; set; }
/// <summary>
/// 讲师等级
/// </summary>
[Display(Name = "OriginTeacherLevel"), Description("讲师等级"), MaxLength(32, ErrorMessage = "讲师等级 不能超过 32 个字符")]
public string OriginTeacherLevel { get; set; }
/// <summary>
/// 讲师等级
/// </summary>
[Display(Name = "TeacherLevel"), Description("讲师等级"), MaxLength(32, ErrorMessage = "讲师等级 不能超过 32 个字符")]
public string TeacherLevel { get; set; }
/// <summary>
/// 课时费
/// </summary>
[Display(Name = "OriginPrice"), Description("课时费"), Column(TypeName = "decimal(20,2)")]
public decimal? OriginPrice { get; set; }
/// <summary>
/// 课时费
/// </summary>
[Display(Name = "Price"), Description("课时费"), Column(TypeName = "decimal(20,2)")]
public decimal? Price { get; set; }
/// <summary>
/// 擅长领域
/// </summary>
[Display(Name = "OriginSkillPoints"), Description("擅长领域"), MaxLength(256, ErrorMessage = "擅长领域 不能超过 256 个字符")]
public string OriginSkillPoints { get; set; }
/// <summary>
/// 擅长领域
/// </summary>
[Display(Name = "SkillPoints"), Description("擅长领域"), MaxLength(256, ErrorMessage = "擅长领域 不能超过 256 个字符")]
public string SkillPoints { get; set; }
/// <summary>
/// 备注
/// </summary>
[Display(Name = "RemarkSz"), Description("备注"), MaxLength(2000, ErrorMessage = "备注 不能超过 2000 个字符")]
public string RemarkSz { get; set; }
/// <summary>
/// 申请理由
/// </summary>
[Display(Name = "ApplyReason"), Description("申请理由"), MaxLength(2000, ErrorMessage = "申请理由 不能超过 2000 个字符")]
public string ApplyReason { get; set; }
/// <summary>
/// 状态
/// </summary>
[Display(Name = "Status"), Description("状态"), MaxLength(32, ErrorMessage = "状态 不能超过 32 个字符")]
public string Status { get; set; }
/// <summary>
/// 默认标志
/// </summary>
public int? IsDefault { get; set; }
/// <summary>
/// WorkID
/// </summary>
public int? WorkID { get; set; }
/// <summary>
/// WorkNo
/// </summary>
[Display(Name = "WorkNo"), Description("WorkNo"), MaxLength(100, ErrorMessage = "WorkNo 不能超过 100 个字符")]
public string WorkNo { get; set; }
/// <summary>
/// ToDoType
/// </summary>
[Display(Name = "ToDoType"), Description("ToDoType"), MaxLength(100, ErrorMessage = "ToDoType 不能超过 100 个字符")]
public string ToDoType { get; set; }
/// <summary>
/// BatchSID
/// </summary>
[Display(Name = "BatchSID"), Description("BatchSID"), MaxLength(100, ErrorMessage = "BatchSID 不能超过 100 个字符")]
public string BatchSID { get; set; }
/// <summary>
/// WorkState
/// </summary>
public int? WorkState { get; set; }
/// <summary>
/// ShiftID
/// </summary>
public int? ShiftID { get; set; }
/// <summary>
/// ConfirmUserID
/// </summary>
public int? ConfirmUserID { get; set; }
/// <summary>
/// ConfirmTime
/// </summary>
public DateTime? ConfirmTime { get; set; }
/// <summary>
/// ConfirmComment
/// </summary>
[Display(Name = "ConfirmComment"), Description("ConfirmComment"), MaxLength(2000, ErrorMessage = "ConfirmComment 不能超过 2000 个字符")]
public string ConfirmComment { get; set; }
/// <summary>
/// 同意人
/// </summary>
public long? AgreeUserId { get; set; }
/// <summary>
/// 同意时间
/// </summary>
public DateTime? AgreeTime { get; set; }
/// <summary>
/// 同意理由
/// </summary>
[Display(Name = "AgreeReason"), Description("同意理由"), MaxLength(2000, ErrorMessage = "同意理由 不能超过 2000 个字符")]
public string AgreeReason { get; set; }
/// <summary>
/// 拒绝人
/// </summary>
public long? RefuseUserId { get; set; }
/// <summary>
/// 拒绝时间
/// </summary>
public DateTime? RefuseTime { get; set; }
/// <summary>
/// 拒绝理由
/// </summary>
[Display(Name = "RefuseReason"), Description("拒绝理由"), MaxLength(2000, ErrorMessage = "拒绝理由 不能超过 2000 个字符")]
public string RefuseReason { 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,139 @@
/* ,
* Ghre_TeacherChangeAttachment.cs
*
* N / A
* Ghre_TeacherChangeAttachment
*
* Ver
*
*V0.01 2024/9/26 16:09:29 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>
/// 培训讲师异动附件 (Model)
/// </summary>
[SugarTable("Ghre_TeacherChangeAttachment", "Ghre_TeacherChangeAttachment"), Entity(TableCnName = "培训讲师异动附件", TableName = "Ghre_TeacherChangeAttachment")]
public class Ghre_TeacherChangeAttachment : BasePoco
{
/// <summary>
/// 讲师异动ID
/// </summary>
public long? TeacherChangeId { get; set; }
/// <summary>
/// 编号
/// </summary>
[Display(Name = "CertificateNo"), Description("编号"), MaxLength(32, ErrorMessage = "编号 不能超过 32 个字符")]
public string CertificateNo { get; set; }
/// <summary>
/// 名称
/// </summary>
[Display(Name = "CertificateName"), Description("名称"), MaxLength(32, ErrorMessage = "名称 不能超过 32 个字符")]
public string CertificateName { get; set; }
/// <summary>
/// 生效日期
/// </summary>
public DateTime? EffectiveDate { get; set; }
/// <summary>
/// 失效日期
/// </summary>
public DateTime? ExpirationDate { 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_TeacherChange.cs
*
* N / A
* Ghre_TeacherChange
*
* Ver
*
*V0.01 2024/9/26 16:09:52 SimonHsiao
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*
*  
* SimonHsiao
*
*/
namespace Tiobon.Core.Model.Models;
/// <summary>
/// 培训讲师异动(Dto.View)
/// </summary>
public class Ghre_TeacherChangeDto : Ghre_TeacherChange
{
/// <summary>
/// 创建信息
/// </summary>
public string CreateDataInfo { get; set; }
/// <summary>
/// 修改信息
/// </summary>
public string UpdateDataInfo { get; set; }
}

@ -0,0 +1,34 @@
/* ,
* Ghre_TeacherChangeAttachment.cs
*
* N / A
* Ghre_TeacherChangeAttachment
*
* Ver
*
*V0.01 2024/9/26 16:09:29 SimonHsiao
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*
*  
* SimonHsiao
*
*/
namespace Tiobon.Core.Model.Models;
/// <summary>
/// 培训讲师异动附件(Dto.View)
/// </summary>
public class Ghre_TeacherChangeAttachmentDto : Ghre_TeacherChangeAttachment
{
/// <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>
/// 培训讲师异动附件 (服务)
/// </summary>
public class Ghre_TeacherChangeAttachmentServices : BaseServices<Ghre_TeacherChangeAttachment, Ghre_TeacherChangeAttachmentDto, InsertGhre_TeacherChangeAttachmentInput, EditGhre_TeacherChangeAttachmentInput>, IGhre_TeacherChangeAttachmentServices
{
private readonly IBaseRepository<Ghre_TeacherChangeAttachment> _dal;
public Ghre_TeacherChangeAttachmentServices(ICaching caching, IBaseRepository<Ghre_TeacherChangeAttachment> 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>
/// 培训讲师异动 (服务)
/// </summary>
public class Ghre_TeacherChangeServices : BaseServices<Ghre_TeacherChange, Ghre_TeacherChangeDto, InsertGhre_TeacherChangeInput, EditGhre_TeacherChangeInput>, IGhre_TeacherChangeServices
{
private readonly IBaseRepository<Ghre_TeacherChange> _dal;
public Ghre_TeacherChangeServices(ICaching caching, IBaseRepository<Ghre_TeacherChange> dal)
{
this._dal = dal;
base.BaseDal = dal;
base._caching = caching;
}
}
}
Loading…
Cancel
Save