增加项目文档新表
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-02-21 14:20:39 +08:00
parent 5791aca9fd
commit 5dd2dfd17b
9 changed files with 38847 additions and 150 deletions
+20 -20
View File
@@ -16,28 +16,17 @@ namespace IRaCIS.Core.Domain.FileRecord
Doc = 2,
//记录
Record = 3
Record = 3,
//阅片人
Reviewer=4,
Template=5
}
[Comment("后台 - 系统文件记录表")]
[Table("SysFileRecord")]
public class SysFileRecord : BaseFullAuditEntity
{
[Comment("关联系统文件类型")]
public Guid SysFileTypeId { get; set; }
public string FileName { get; set; }
[StringLength(1000)]
public string FilePath { get; set; }
public string FileSize { get; set; }
public string FileFormat { get; set; }
}
[Comment("后台 - 系统文件类型表")]
[Table("SysFileType")]
public class SysFileType : BaseFullAuditEntity
@@ -50,9 +39,15 @@ namespace IRaCIS.Core.Domain.FileRecord
public string NameCN { get; set; }
[Comment("是否确认收入项")]
public bool IsConfirmRecord { get; set; }
[Comment("子类标识,是取那个表的数据")]
public int SubIdentification { get; set; }
public bool IsEnable { get; set; }
}
[Comment("项目文件 - 文件类型表")]
@@ -60,6 +55,9 @@ namespace IRaCIS.Core.Domain.FileRecord
public class TrialFileType : BaseFullAuditEntity
{
[Comment("关联系统文件类型")]
public Guid? SysFileTypeId { get; set; }
public Guid TrialId { get; set; }
[Comment("报告、文档、记录")]
@@ -83,8 +81,10 @@ namespace IRaCIS.Core.Domain.FileRecord
[Comment("子类标识,是取那个表的数据")]
public int SubIdentification { get; set; }
[Comment("启动会日期")]
public DateOnly? StartupDate { get; set; }
public bool IsEnable { get; set; }
}
}
+19 -49
View File
@@ -32,43 +32,16 @@ namespace IRaCIS.Core.Domain.FileRecord
[Comment("定稿PDF")]
public Guid PDFTrialFileRecordId { get; set; }
public Guid PDFFileRecordId { get; set; }
[Comment("定稿Word")]
public Guid WordTrialFileRecordId { get; set; }
public Guid WordFileRecordId { get; set; }
[Comment("签名页")]
public Guid SignTrialFileRecordId { get; set; }
public Guid SignFileRecordId { get; set; }
[Comment("历史记录")]
public Guid HistoryTrialFileRecordId { get; set; }
#region
[Comment("定稿PDF名字")]
public string PDFName { get; set; }
public string PDFPath { get; set; }
[Comment("定稿Word名字")]
public string WordName { get; set; }
public string WordPath { get; set; }
[Comment("签名页名字")]
public string SignFileName { get; set; }
public string SignFilePath { get; set; }
[Comment("历史记录名字")]
public string HistoryRecordFileName { get; set; }
public string HistoryRecordFilePath { get; set; }
#endregion
public Guid HistoryFileRecordId { get; set; }
}
@@ -76,14 +49,19 @@ namespace IRaCIS.Core.Domain.FileRecord
[Comment("项目文件 - 一般文件记录表")]
[Table("TrialNormalFileRecord")]
public class TrialNormalFileRecord : BaseFullAuditEntity
[Table("TrialNormalRecord")]
public class TrialNormalRecord : BaseFullAuditEntity
{
public Guid TrialId { get; set; }
[Comment("关联项目文件类型")]
public Guid TrialFileTypeId { get; set; }
[Comment("文件类型,阅片人中使用")]
public int? ReviewerFileType { get; set; }
#region
public int State { get; set; }
@@ -95,18 +73,6 @@ namespace IRaCIS.Core.Domain.FileRecord
[Comment("关联具体的文件记录,记录里面有大小,格式,名称")]
public Guid TrialFileRecordId { get; set; }
#region
public string FileName { get; set; }
[StringLength(1000)]
public string FilePath { get; set; }
public string FileSize { get; set; }
public string FileFormat { get; set; }
#endregion
}
@@ -146,11 +112,13 @@ namespace IRaCIS.Core.Domain.FileRecord
}
[Comment("项目文件 - 文件记录表")]
[Table("TrialFileRecord")]
public class TrialFileRecord : BaseFullAuditEntity
[Comment("项目文件 - 文件表")]
[Table("TrialFile")]
public class TrialFile : BaseFullAuditEntity
{
public Guid TrialId { get; set; }
[Comment("关联项目文件类型")]
public Guid TrialFileTypeId { get; set; }
public string FileName { get; set; }
@@ -161,5 +129,7 @@ namespace IRaCIS.Core.Domain.FileRecord
public string FileFormat { get; set; }
}
}