新增附件表

master
xiaochanghai 1 year ago
parent 7968e4b973
commit cfe350e3ee
  1. 14
      Tiobon.Core.Api/Controllers/Ghre/Ghre_AttachmentController.cs
  2. 341
      Tiobon.Core.Api/Tiobon.Core.Model.xml
  3. 5
      Tiobon.Core.Api/Tiobon.Core.xml
  4. 12
      Tiobon.Core.IServices/Ghre/IGhre_AttachmentServices.cs
  5. 210
      Tiobon.Core.Model/Base/Ghre/Ghre_Attachment.Dto.Base.cs
  6. 27
      Tiobon.Core.Model/Edit/Ghre/Ghre_Attachment.Dto.EditInput.cs
  7. 27
      Tiobon.Core.Model/Insert/Ghre/Ghre_Attachment.Dto.InsertInput.cs
  8. 212
      Tiobon.Core.Model/Models/Ghre/Ghre_Attachment.cs
  9. 27
      Tiobon.Core.Model/View/Ghre/Ghre_Attachment.Dto.View.cs
  10. 21
      Tiobon.Core.Services/Ghre/Ghre_AttachmentServices.cs

@ -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_AttachmentController : BaseController<IGhre_AttachmentServices, Ghre_Attachment, Ghre_AttachmentDto, InsertGhre_AttachmentInput, EditGhre_AttachmentInput>
{
public Ghre_AttachmentController(IGhre_AttachmentServices service) : base(service)
{
}
}

@ -139,6 +139,169 @@
ReverseI2
</summary>
</member>
<member name="T:Tiobon.Core.Model.Models.Ghre_AttachmentBase">
<summary>
附件 (Dto.Base)
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.AttachmentNo">
<summary>
附件编号
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.AttachmentName">
<summary>
附件名称
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.AttachmentEname">
<summary>
附件名称
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.TableName">
<summary>
表名
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.TableKeyID">
<summary>
表主键
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.StaffID">
<summary>
员工ID
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.AttachmentType">
<summary>
附件类型
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.AttachmentGroupID">
<summary>
附件分组ID
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.AttachFileName">
<summary>
附件文件名
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.AttachFileExtension">
<summary>
附件
</summary>
<summary>
附件扩展名
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.AttachFileSize">
<summary>
附件大小
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.PhysicsPath">
<summary>
物理路径
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.RelativePath">
<summary>
相对路径
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.ThumbnailPath">
<summary>
缩略图路径
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.FileURL">
<summary>
文件路径
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.CompanyID">
<summary>
公司ID
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.RemarkSz">
<summary>
备注
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.SortNo">
<summary>
排序
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.IsDefault">
<summary>
默认标志
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.Reverse1">
<summary>
预留字段1
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.Reverse2">
<summary>
预留字段2
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.Reverse3">
<summary>
预留字段3
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.Reverse4">
<summary>
预留字段4
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.Reverse5">
<summary>
预留字段5
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.Reverse6">
<summary>
预留字段6
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.Reverse7">
<summary>
预留字段7
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.Reverse8">
<summary>
预留字段8
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.Reverse9">
<summary>
预留字段9
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.Reverse10">
<summary>
预留字段10
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.ReverseI1">
<summary>
预留字段11
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_AttachmentBase.ReverseI2">
<summary>
预留字段12
</summary>
</member>
<member name="T:Tiobon.Core.Model.Models.Ghre_CourseClassBase">
<summary>
课程分类 (Dto.Base)
@ -408,6 +571,11 @@
年级 (Dto.EditInput)
</summary>
</member>
<member name="T:Tiobon.Core.Model.Models.EditGhre_AttachmentInput">
<summary>
附件 (Dto.EditInput)
</summary>
</member>
<member name="T:Tiobon.Core.Model.Models.EditGhre_CourseClassInput">
<summary>
课程分类 (Dto.EditInput)
@ -423,6 +591,11 @@
年级 (Dto.InsertInput)
</summary>
</member>
<member name="T:Tiobon.Core.Model.Models.InsertGhre_AttachmentInput">
<summary>
附件 (Dto.InsertInput)
</summary>
</member>
<member name="T:Tiobon.Core.Model.Models.InsertGhre_CourseClassInput">
<summary>
课程分类 (Dto.InsertInput)
@ -734,6 +907,169 @@
ReverseI2
</summary>
</member>
<member name="T:Tiobon.Core.Model.Models.Ghre_Attachment">
<summary>
附件 (Model)
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.AttachmentNo">
<summary>
附件编号
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.AttachmentName">
<summary>
附件名称
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.AttachmentEname">
<summary>
附件名称
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.TableName">
<summary>
表名
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.TableKeyID">
<summary>
表主键
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.StaffID">
<summary>
员工ID
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.AttachmentType">
<summary>
附件类型
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.AttachmentGroupID">
<summary>
附件分组ID
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.AttachFileName">
<summary>
附件文件名
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.AttachFileExtension">
<summary>
附件
</summary>
<summary>
附件扩展名
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.AttachFileSize">
<summary>
附件大小
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.PhysicsPath">
<summary>
物理路径
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.RelativePath">
<summary>
相对路径
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.ThumbnailPath">
<summary>
缩略图路径
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.FileURL">
<summary>
文件路径
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.CompanyID">
<summary>
公司ID
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.RemarkSz">
<summary>
备注
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.SortNo">
<summary>
排序
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.IsDefault">
<summary>
默认标志
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.Reverse1">
<summary>
预留字段1
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.Reverse2">
<summary>
预留字段2
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.Reverse3">
<summary>
预留字段3
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.Reverse4">
<summary>
预留字段4
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.Reverse5">
<summary>
预留字段5
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.Reverse6">
<summary>
预留字段6
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.Reverse7">
<summary>
预留字段7
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.Reverse8">
<summary>
预留字段8
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.Reverse9">
<summary>
预留字段9
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.Reverse10">
<summary>
预留字段10
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.ReverseI1">
<summary>
预留字段11
</summary>
</member>
<member name="P:Tiobon.Core.Model.Models.Ghre_Attachment.ReverseI2">
<summary>
预留字段12
</summary>
</member>
<member name="T:Tiobon.Core.Model.Models.Ghre_CourseClass">
<summary>
课程分类 (Model)
@ -1852,6 +2188,11 @@
年级(Dto.View)
</summary>
</member>
<member name="T:Tiobon.Core.Model.Models.Ghre_AttachmentDto">
<summary>
附件(Dto.View)
</summary>
</member>
<member name="T:Tiobon.Core.Model.Models.Ghre_CourseClassDto">
<summary>
课程分类(Dto.View)

@ -445,6 +445,11 @@
年级(Controller)
</summary>
</member>
<member name="T:Tiobon.Core.Api.Controllers.Ghre_AttachmentController">
<summary>
附件(Controller)
</summary>
</member>
<member name="T:Tiobon.Core.Api.Controllers.Ghre_CourseClassController">
<summary>
课程分类(Controller)

@ -0,0 +1,12 @@
using Tiobon.Core.IServices.BASE;
using Tiobon.Core.Model.Models;
namespace Tiobon.Core.IServices
{
/// <summary>
/// 附件(自定义服务接口)
/// </summary>
public interface IGhre_AttachmentServices :IBaseServices<Ghre_Attachment, Ghre_AttachmentDto, InsertGhre_AttachmentInput, EditGhre_AttachmentInput>
{
}
}

@ -0,0 +1,210 @@
/* ,
* Ghre_Attachment.cs
*
* N / A
* Ghre_Attachment
*
* Ver
*
*V0.01 2024/4/23 16:02:54 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_AttachmentBase
{
/// <summary>
/// 附件编号
/// </summary>
[Display(Name = "AttachmentNo"), Description("附件编号"), MaxLength(100, ErrorMessage = "附件编号 不能超过 100 个字符")]
public string AttachmentNo { get; set; }
/// <summary>
/// 附件名称
/// </summary>
[Display(Name = "AttachmentName"), Description("附件名称"), MaxLength(200, ErrorMessage = "附件名称 不能超过 200 个字符")]
public string AttachmentName { get; set; }
/// <summary>
/// 附件名称
/// </summary>
[Display(Name = "AttachmentEname"), Description("附件名称"), MaxLength(500, ErrorMessage = "附件名称 不能超过 500 个字符")]
public string AttachmentEname { get; set; }
/// <summary>
/// 表名
/// </summary>
[Display(Name = "TableName"), Description("表名"), MaxLength(200, ErrorMessage = "表名 不能超过 200 个字符")]
public string TableName { get; set; }
/// <summary>
/// 表主键
/// </summary>
public int? TableKeyID { get; set; }
/// <summary>
/// 员工ID
/// </summary>
public int? StaffID { get; set; }
/// <summary>
/// 附件类型
/// </summary>
[Display(Name = "AttachmentType"), Description("附件类型"), MaxLength(100, ErrorMessage = "附件类型 不能超过 100 个字符")]
public string AttachmentType { get; set; }
/// <summary>
/// 附件分组ID
/// </summary>
public int? AttachmentGroupID { get; set; }
/// <summary>
/// 附件文件名
/// </summary>
[Display(Name = "AttachFileName"), Description("附件文件名"), MaxLength(200, ErrorMessage = "附件文件名 不能超过 200 个字符")]
public string AttachFileName { get; set; }
/// <summary>
/// 附件
/// </summary>
/// <summary>
/// 附件扩展名
/// </summary>
[Display(Name = "AttachFileExtension"), Description("附件扩展名"), MaxLength(100, ErrorMessage = "附件扩展名 不能超过 100 个字符")]
public string AttachFileExtension { get; set; }
/// <summary>
/// 附件大小
/// </summary>
public int? AttachFileSize { get; set; }
/// <summary>
/// 物理路径
/// </summary>
[Display(Name = "PhysicsPath"), Description("物理路径"), MaxLength(500, ErrorMessage = "物理路径 不能超过 500 个字符")]
public string PhysicsPath { get; set; }
/// <summary>
/// 相对路径
/// </summary>
[Display(Name = "RelativePath"), Description("相对路径"), MaxLength(500, ErrorMessage = "相对路径 不能超过 500 个字符")]
public string RelativePath { get; set; }
/// <summary>
/// 缩略图路径
/// </summary>
[Display(Name = "ThumbnailPath"), Description("缩略图路径"), MaxLength(500, ErrorMessage = "缩略图路径 不能超过 500 个字符")]
public string ThumbnailPath { get; set; }
/// <summary>
/// 文件路径
/// </summary>
[Display(Name = "FileURL"), Description("文件路径"), MaxLength(500, ErrorMessage = "文件路径 不能超过 500 个字符")]
public string FileURL { get; set; }
/// <summary>
/// 公司ID
/// </summary>
public int? CompanyID { get; set; }
/// <summary>
/// 备注
/// </summary>
[Display(Name = "RemarkSz"), Description("备注"), MaxLength(2000, ErrorMessage = "备注 不能超过 2000 个字符")]
public string RemarkSz { get; set; }
/// <summary>
/// 排序
/// </summary>
public int? SortNo { 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_Attachment.cs
*
* N / A
* Ghre_Attachment
*
* Ver
*
*V0.01 2024/4/23 16:02:54 SimonHsiao
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*
*  
* SimonHsiao
*
*/
namespace Tiobon.Core.Model.Models
{
/// <summary>
/// 附件 (Dto.EditInput)
/// </summary>
public class EditGhre_AttachmentInput : Ghre_AttachmentBase
{
}
}

@ -0,0 +1,27 @@
/* ,
* Ghre_Attachment.cs
*
* N / A
* Ghre_Attachment
*
* Ver
*
*V0.01 2024/4/23 16:02:54 SimonHsiao
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*
*  
* SimonHsiao
*
*/
namespace Tiobon.Core.Model.Models
{
/// <summary>
/// 附件 (Dto.InsertInput)
/// </summary>
public class InsertGhre_AttachmentInput : Ghre_AttachmentBase
{
}
}

@ -0,0 +1,212 @@
/* ,
* Ghre_Attachment.cs
*
* N / A
* Ghre_Attachment
*
* Ver
*
*V0.01 2024/4/23 16:02:54 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_Attachment", "Ghre_Attachment"), Entity(TableCnName = "附件", TableName = "Ghre_Attachment")]
public class Ghre_Attachment : BasePoco
{
/// <summary>
/// 附件编号
/// </summary>
[Display(Name = "AttachmentNo"), Description("附件编号"), MaxLength(100, ErrorMessage = "附件编号 不能超过 100 个字符")]
public string AttachmentNo { get; set; }
/// <summary>
/// 附件名称
/// </summary>
[Display(Name = "AttachmentName"), Description("附件名称"), MaxLength(200, ErrorMessage = "附件名称 不能超过 200 个字符")]
public string AttachmentName { get; set; }
/// <summary>
/// 附件名称
/// </summary>
[Display(Name = "AttachmentEname"), Description("附件名称"), MaxLength(500, ErrorMessage = "附件名称 不能超过 500 个字符")]
public string AttachmentEname { get; set; }
/// <summary>
/// 表名
/// </summary>
[Display(Name = "TableName"), Description("表名"), MaxLength(200, ErrorMessage = "表名 不能超过 200 个字符")]
public string TableName { get; set; }
/// <summary>
/// 表主键
/// </summary>
public int? TableKeyID { get; set; }
/// <summary>
/// 员工ID
/// </summary>
public int? StaffID { get; set; }
/// <summary>
/// 附件类型
/// </summary>
[Display(Name = "AttachmentType"), Description("附件类型"), MaxLength(100, ErrorMessage = "附件类型 不能超过 100 个字符")]
public string AttachmentType { get; set; }
/// <summary>
/// 附件分组ID
/// </summary>
public int? AttachmentGroupID { get; set; }
/// <summary>
/// 附件文件名
/// </summary>
[Display(Name = "AttachFileName"), Description("附件文件名"), MaxLength(200, ErrorMessage = "附件文件名 不能超过 200 个字符")]
public string AttachFileName { get; set; }
/// <summary>
/// 附件
/// </summary>
/// <summary>
/// 附件扩展名
/// </summary>
[Display(Name = "AttachFileExtension"), Description("附件扩展名"), MaxLength(100, ErrorMessage = "附件扩展名 不能超过 100 个字符")]
public string AttachFileExtension { get; set; }
/// <summary>
/// 附件大小
/// </summary>
public int? AttachFileSize { get; set; }
/// <summary>
/// 物理路径
/// </summary>
[Display(Name = "PhysicsPath"), Description("物理路径"), MaxLength(500, ErrorMessage = "物理路径 不能超过 500 个字符")]
public string PhysicsPath { get; set; }
/// <summary>
/// 相对路径
/// </summary>
[Display(Name = "RelativePath"), Description("相对路径"), MaxLength(500, ErrorMessage = "相对路径 不能超过 500 个字符")]
public string RelativePath { get; set; }
/// <summary>
/// 缩略图路径
/// </summary>
[Display(Name = "ThumbnailPath"), Description("缩略图路径"), MaxLength(500, ErrorMessage = "缩略图路径 不能超过 500 个字符")]
public string ThumbnailPath { get; set; }
/// <summary>
/// 文件路径
/// </summary>
[Display(Name = "FileURL"), Description("文件路径"), MaxLength(500, ErrorMessage = "文件路径 不能超过 500 个字符")]
public string FileURL { get; set; }
/// <summary>
/// 公司ID
/// </summary>
public int? CompanyID { get; set; }
/// <summary>
/// 备注
/// </summary>
[Display(Name = "RemarkSz"), Description("备注"), MaxLength(2000, ErrorMessage = "备注 不能超过 2000 个字符")]
public string RemarkSz { get; set; }
/// <summary>
/// 排序
/// </summary>
public int? SortNo { 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_Attachment.cs
*
* N / A
* Ghre_Attachment
*
* Ver
*
*V0.01 2024/4/23 16:02:54 SimonHsiao
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*
*  
* SimonHsiao
*
*/
namespace Tiobon.Core.Model.Models
{
/// <summary>
/// 附件(Dto.View)
/// </summary>
public class Ghre_AttachmentDto : Ghre_Attachment
{
}
}

@ -0,0 +1,21 @@

using Tiobon.Core.IServices;
using Tiobon.Core.Model.Models;
using Tiobon.Core.Services.BASE;
using Tiobon.Core.IRepository.Base;
namespace Tiobon.Core.Services
{
/// <summary>
/// 附件 (服务)
/// </summary>
public class Ghre_AttachmentServices : BaseServices<Ghre_Attachment, Ghre_AttachmentDto, InsertGhre_AttachmentInput, EditGhre_AttachmentInput>, IGhre_AttachmentServices
{
private readonly IBaseRepository<Ghre_Attachment> _dal;
public Ghre_AttachmentServices(IBaseRepository<Ghre_Attachment> dal)
{
this._dal = dal;
base.BaseDal = dal;
}
}
}
Loading…
Cancel
Save