同步数据库备注到实体
continuous-integration/drone/push Build is passing Details

IRC_NewDev
hang 2024-09-20 22:45:48 +08:00
parent 3ee0c2ccc7
commit e9bb71f5c9
155 changed files with 209 additions and 77 deletions

View File

@ -16,7 +16,6 @@ namespace IRaCIS.Core.Application.Service
CreateMap<RoleCommand, Role>();
CreateMap<UserCommand, User>().ForMember(d => d.UserCode, x => x.Ignore()); CreateMap<UserCommand, User>().ForMember(d => d.UserCode, x => x.Ignore());
CreateMap<UserType, UserTypeMenuAddOrEdit>().ReverseMap() CreateMap<UserType, UserTypeMenuAddOrEdit>().ReverseMap()
@ -45,7 +44,6 @@ namespace IRaCIS.Core.Application.Service
CreateMap<UserType, UserTypeRoleView>() CreateMap<UserType, UserTypeRoleView>()
.ForMember(t => t.MenuIds, u => u.MapFrom(c => c.UserTypeMenuList.Select(t => t.MenuId))); .ForMember(t => t.MenuIds, u => u.MapFrom(c => c.UserTypeMenuList.Select(t => t.MenuId)));
CreateMap<Role, RoleDTO>();
CreateMap<Menu, MenuFunctionDTO>(); CreateMap<Menu, MenuFunctionDTO>();

View File

@ -79,9 +79,6 @@ namespace IRaCIS.Core.Application.Service
//审计信息 这里不用IncludeMembers 也可以识别 是以导航属性名称开头 //审计信息 这里不用IncludeMembers 也可以识别 是以导航属性名称开头
// 还有 外键? COALESCE([t0].[SubjectId], '00000000-0000-0000-0000-000000000000') 因为destination 是Guid // 还有 外键? COALESCE([t0].[SubjectId], '00000000-0000-0000-0000-000000000000') 因为destination 是Guid
CreateMap<TrialAudit, AuditDTO>()
.ForMember(d => d.SubjectName, u => u.MapFrom(s => s.Subject.LastName + " / " + s.Subject.FirstName))
.ForMember(d => d.SubjectCode, u => u.MapFrom(s => s.Subject.Code));
CreateMap<SubjectVisitCommand, SubjectVisit>().ForAllMembers(opt => opt.Condition((src, dest, srcMember) => srcMember != null)); CreateMap<SubjectVisitCommand, SubjectVisit>().ForAllMembers(opt => opt.Condition((src, dest, srcMember) => srcMember != null));

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("项目阅片 - 分配规则")]
[Table("TaskAllocationRule")] [Table("TaskAllocationRule")]
public class TaskAllocationRule : BaseFullAuditEntity public class TaskAllocationRule : BaseFullAuditEntity
{ {

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("项目阅片 - 一致性分析生成任务配置")]
[Table("TaskConsistentRule")] [Table("TaskConsistentRule")]
public class TaskConsistentRule : BaseFullAuditEntity public class TaskConsistentRule : BaseFullAuditEntity
{ {

View File

@ -2,6 +2,7 @@ using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("项目阅片 - 退回重阅影响")]
[Table("TaskInfluence")] [Table("TaskInfluence")]
public class TaskInfluence : BaseAddAuditEntity public class TaskInfluence : BaseAddAuditEntity
{ {

View File

@ -9,6 +9,7 @@ public class OSSImageInfo
public string ImagePath { get; set; } = string.Empty; public string ImagePath { get; set; } = string.Empty;
} }
[Comment("项目阅片 - 医学审核")]
[Table("TaskMedicalReview")] [Table("TaskMedicalReview")]
public class TaskMedicalReview : BaseFullAuditEntity public class TaskMedicalReview : BaseFullAuditEntity
{ {
@ -59,7 +60,7 @@ public class TaskMedicalReview : BaseFullAuditEntity
public DateTime? AllocateTime { get; set; } public DateTime? AllocateTime { get; set; }
[Comment("审核状态")] [Comment("审核状态")]
[Required]
public MedicalReviewAuditState AuditState { get; set; } public MedicalReviewAuditState AuditState { get; set; }
[Comment("审核通过时间")] [Comment("审核通过时间")]

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("项目阅片 - 一致性分析规则")]
[Table("TaskMedicalReviewRule")] [Table("TaskMedicalReviewRule")]
public class TaskMedicalReviewRule : BaseFullAuditEntity public class TaskMedicalReviewRule : BaseFullAuditEntity
{ {

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("项目 - 虚拟中心编号更新记录")]
[Table("TrialVirtualSiteCodeUpdate")] [Table("TrialVirtualSiteCodeUpdate")]
public class TrialVirtualSiteCodeUpdate : BaseAddAuditEntity public class TrialVirtualSiteCodeUpdate : BaseAddAuditEntity
{ {

View File

@ -4,6 +4,7 @@ using System.Linq;
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("项目阅片 - 阅片任务表")]
[Table("VisitTask")] [Table("VisitTask")]
public class VisitTask : BaseFullAuditEntity public class VisitTask : BaseFullAuditEntity
{ {
@ -166,7 +167,7 @@ public class VisitTask : BaseFullAuditEntity
public bool IsCanEditUrgentState { get; set; } = true; public bool IsCanEditUrgentState { get; set; } = true;
[Comment("0 代表 单重阅片 产生的任务 否则就是双重 任务 1 任务 2")] [Comment("0 代表 单重阅片 产生的任务 否则就是双重 任务 1 任务 2")]
[Required]
public Arm ArmEnum { get; set; } public Arm ArmEnum { get; set; }
[Comment("分配状态")] [Comment("分配状态")]

View File

@ -1,6 +1,7 @@
using IRaCIS.Core.Domain.Share; using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("重阅申请流程记录表")] [Comment("重阅申请流程记录表")]
[Table("VisitTaskReReading")] [Table("VisitTaskReReading")]
public class VisitTaskReReading : BaseFullAuditEntity public class VisitTaskReReading : BaseFullAuditEntity

View File

@ -16,7 +16,7 @@ public interface IEntitySeqId
public abstract class Entity : IEntity<Guid> public abstract class Entity : IEntity<Guid>
{ {
[Key] [Key]
[Required]
[DatabaseGenerated(DatabaseGeneratedOption.None)] [DatabaseGenerated(DatabaseGeneratedOption.None)]
public Guid Id { get; set; } public Guid Id { get; set; }
#region 领域事件 仅仅允许通过提供的方法进行操作 #region 领域事件 仅仅允许通过提供的方法进行操作

View File

@ -1,5 +1,6 @@
using IRaCIS.Core.Domain.Share; using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("数据上传 | 数据导出 | 邮件附件 文件记录表 (需要同步)")] [Comment("数据上传 | 数据导出 | 邮件附件 文件记录表 (需要同步)")]
[Table("CommonDocument")] [Table("CommonDocument")]
public class CommonDocument : BaseFullDeleteAuditEntity public class CommonDocument : BaseFullDeleteAuditEntity

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 国际化配置表 (需要同步)")]
[Table("Internationalization")] [Table("Internationalization")]
public class Internationalization : BaseFullAuditEntity public class Internationalization : BaseFullAuditEntity
{ {

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 系统发布日志 (需要同步)")]
[Table("PublishLog")] [Table("PublishLog")]
public class PublishLog : BaseFullAuditEntity public class PublishLog : BaseFullAuditEntity
{ {

View File

@ -1,6 +1,7 @@
using IRaCIS.Core.Domain.Share; using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("系统 - 签名模板场景配置 (需要同步)")]
[Table("SystemBasicData")] [Table("SystemBasicData")]
public class SystemBasicData : BaseFullAuditEntity public class SystemBasicData : BaseFullAuditEntity
{ {

View File

@ -1,6 +1,8 @@
using IRaCIS.Core.Domain.Share; using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 验证码记录")]
[Table("VerificationCode")] [Table("VerificationCode")]
public class VerificationCode : BaseAddAuditEntity public class VerificationCode : BaseAddAuditEntity
{ {

View File

@ -1,4 +1,5 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("医生 - 医生字典关联表")] [Comment("医生 - 医生字典关联表")]
[Table("DoctorDictionary")] [Table("DoctorDictionary")]
public class DoctorDictionary : Entity public class DoctorDictionary : Entity

View File

@ -2,7 +2,7 @@ namespace IRaCIS.Core.Domain.Models;
[Comment("医生计费 - 工作量记录表")] [Comment("医生计费 - 工作量记录表")]
[Table("DoctorWorkload")] [Table("DoctorWorkload")]
public partial class Workload : BaseFullAuditEntity public class Workload : BaseFullAuditEntity
{ {
#region 导航属性 #region 导航属性

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("医生 - 项目阅片标准参与一致性分析配置表")]
[Table("EnrollReadingCriterion")] [Table("EnrollReadingCriterion")]
public class EnrollReadingCriterion : BaseAddAuditEntity public class EnrollReadingCriterion : BaseAddAuditEntity
{ {

View File

@ -1,6 +1,8 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("医生 - 继续教育经历")]
[Table("Postgraduate")] [Table("Postgraduate")]
public partial class Postgraduate : BaseFullAuditEntity public class Postgraduate : BaseFullAuditEntity
{ {
#region 导航属性 #region 导航属性

View File

@ -1,4 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("医生 - 科研学术记录")]
[Table("ResearchPublication")] [Table("ResearchPublication")]
public partial class ResearchPublication : BaseFullAuditEntity public partial class ResearchPublication : BaseFullAuditEntity
{ {

View File

@ -1,4 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("医生 - 项目临床经历")]
[Table("TrialExperience")] [Table("TrialExperience")]
public partial class TrialExperience : BaseFullAuditEntity public partial class TrialExperience : BaseFullAuditEntity
{ {

View File

@ -1,4 +1,7 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("医生 - 项目临床经历评估标准")]
[Table("TrialExperienceCriteria")]
public class TrialExperienceCriteria : Entity public class TrialExperienceCriteria : Entity
{ {
#region 导航属性 #region 导航属性

View File

@ -1,4 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("医生 - 假期安排")]
[Table("Vacation")] [Table("Vacation")]
public class Vacation : BaseFullAuditEntity public class Vacation : BaseFullAuditEntity
{ {

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 系统文档签署记录")]
[Table("SystemDocConfirmedUser")] [Table("SystemDocConfirmedUser")]
public class SystemDocConfirmedUser : BaseAddDeleteAuditEntity public class SystemDocConfirmedUser : BaseAddDeleteAuditEntity

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 系统文档需要签署用户类型")]
[Table("SystemDocNeedConfirmedUserType")] [Table("SystemDocNeedConfirmedUserType")]
public class SystemDocNeedConfirmedUserType : Entity public class SystemDocNeedConfirmedUserType : Entity
{ {

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 系统签署文档")]
[Table("SystemDocument")] [Table("SystemDocument")]
public class SystemDocument : BaseFullDeleteAuditEntity public class SystemDocument : BaseFullDeleteAuditEntity
{ {

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("项目 - 项目文档签署记录")]
[Table("TrialDocConfirmedUser")] [Table("TrialDocConfirmedUser")]
public class TrialDocConfirmedUser : BaseAddDeleteAuditEntity public class TrialDocConfirmedUser : BaseAddDeleteAuditEntity
{ {

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("项目 - 项目文档需要签署的用户类型")]
[Table("TrialDocNeedConfirmedUserType")] [Table("TrialDocNeedConfirmedUserType")]
public class TrialDocNeedConfirmedUserType : Entity public class TrialDocNeedConfirmedUserType : Entity
{ {

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("项目 - 项目文档")]
[Table("TrialDocument")] [Table("TrialDocument")]
public class TrialDocument : BaseFullDeleteAuditEntity public class TrialDocument : BaseFullDeleteAuditEntity
{ {

View File

@ -1,6 +1,7 @@
using IRaCIS.Core.Domain.Share; using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("项目 - 项目邮件收发配置用户类型")]
[Table("TrialEmailNoticeUser")] [Table("TrialEmailNoticeUser")]
public class TrialEmailNoticeUser : Entity public class TrialEmailNoticeUser : Entity
{ {

View File

@ -1,10 +0,0 @@
namespace IRaCIS.Core.Domain.Models;
[Table("CalculateTask")]
public class CalculateTask : Entity
{
public Guid ReviewerId { get; set; }
[Required]
public string YearMonth { get; set; } = string.Empty;
public bool IsLock { get; set; }
}

View File

@ -1,4 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("医生计费 - 汇率")]
[Table("ExchangeRate")] [Table("ExchangeRate")]
public class ExchangeRate : BaseFullAuditEntity public class ExchangeRate : BaseFullAuditEntity
{ {

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("医生计费 - 每月支付记录表")]
[Table("Payment")] [Table("Payment")]
public partial class Payment : BaseFullAuditEntity public partial class Payment : BaseFullAuditEntity
{ {

View File

@ -1,4 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("医生计费 - 每月支付记录表")]
[Table("PaymentAdjustment")] [Table("PaymentAdjustment")]
public partial class PaymentAdjustment : BaseFullAuditEntity public partial class PaymentAdjustment : BaseFullAuditEntity
{ {

View File

@ -1,4 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("医生计费 - 每月支付详情表")]
[Table("PaymentDetail")] [Table("PaymentDetail")]
public partial class PaymentDetail : BaseFullAuditEntity public partial class PaymentDetail : BaseFullAuditEntity
{ {

View File

@ -1,4 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("医生计费 - 不同时间点价格设置")]
[Table("RankPrice")] [Table("RankPrice")]
public partial class RankPrice : BaseFullAuditEntity public partial class RankPrice : BaseFullAuditEntity
{ {

View File

@ -1,4 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("医生计费 - 项目支付配置")]
[Table("TrialPaymentPrice")] [Table("TrialPaymentPrice")]
public partial class TrialPaymentPrice : BaseFullAuditEntity public partial class TrialPaymentPrice : BaseFullAuditEntity
{ {

View File

@ -1,4 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("医生计费 - 项目工作量收入单价")]
[Table("TrialRevenuesPrice")] [Table("TrialRevenuesPrice")]
public class TrialRevenuesPrice : BaseFullAuditEntity public class TrialRevenuesPrice : BaseFullAuditEntity
{ {

View File

@ -1,4 +1,7 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("医生计费 - 项目收入价格验证")]
[Table("TrialRevenuesPriceVerification")]
public class TrialRevenuesPriceVerification : Entity public class TrialRevenuesPriceVerification : Entity
{ {
public Guid TrialId { get; set; } public Guid TrialId { get; set; }

View File

@ -1,4 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("医生计费 - 奖励")]
[Table("VolumeReward")] [Table("VolumeReward")]
public partial class VolumeReward : BaseFullAuditEntity public partial class VolumeReward : BaseFullAuditEntity
{ {

View File

@ -39,7 +39,6 @@ public class DicomInstance : BaseFullAuditEntity, IEntitySeqId
public int NumberOfFrames { get; set; } public int NumberOfFrames { get; set; }
[MaxLength] [MaxLength]
[Unicode(false)]
public string Path { get; set; } = null!; public string Path { get; set; } = null!;
[StringLength(400)] [StringLength(400)]

View File

@ -1,7 +1,8 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("归档 - 序列表")] [Comment("归档 - 序列表")]
public partial class DicomSeries : BaseFullDeleteAuditEntity, IEntitySeqId [Table("DicomSeries")]
public class DicomSeries : BaseFullDeleteAuditEntity, IEntitySeqId
{ {
#region 导航属性 #region 导航属性
[JsonIgnore] [JsonIgnore]

View File

@ -1,4 +1,7 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("影像 - 影像分享记录表")]
[Table("ImageShare")]
public class ImageShare : Entity public class ImageShare : Entity
{ {
#region 导航属性 #region 导航属性

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("影像 - 非dicom检查")]
[Table("NoneDicomStudy")] [Table("NoneDicomStudy")]
public class NoneDicomStudy : BaseFullAuditEntity public class NoneDicomStudy : BaseFullAuditEntity
{ {

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("影像 - 非dicom检查关联文件表")]
[Table("NoneDicomStudyFile")] [Table("NoneDicomStudyFile")]
public class NoneDicomStudyFile : BaseAddAuditEntity public class NoneDicomStudyFile : BaseAddAuditEntity
{ {

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("项目中心 - 影像推送记录")]
[Table("SCPImageUpload")] [Table("SCPImageUpload")]
public class SCPImageUpload : BaseAddAuditEntity public class SCPImageUpload : BaseAddAuditEntity
{ {

View File

@ -1,4 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("项目中心 - 推送Instance")]
[Table("SCPInstance")] [Table("SCPInstance")]
public class SCPInstance : BaseFullAuditEntity, IEntitySeqId public class SCPInstance : BaseFullAuditEntity, IEntitySeqId
{ {

View File

@ -1,4 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("项目中心 - 推送检查患者")]
[Table("SCPPatient")] [Table("SCPPatient")]
public class SCPPatient : BaseFullAuditEntity public class SCPPatient : BaseFullAuditEntity
{ {

View File

@ -1,4 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("项目中心 - 推送序列")]
[Table("SCPSeries")] [Table("SCPSeries")]
public class SCPSeries : BaseFullDeleteAuditEntity, IEntitySeqId public class SCPSeries : BaseFullDeleteAuditEntity, IEntitySeqId
{ {

View File

@ -1,4 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("项目中心 - 推送检查")]
[Table("SCPStudy")] [Table("SCPStudy")]
public class SCPStudy : BaseFullDeleteAuditEntity, IEntitySeqId public class SCPStudy : BaseFullDeleteAuditEntity, IEntitySeqId
{ {

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("系统 - 匿名化配置(需要同步)")]
[Table("SystemAnonymization")] [Table("SystemAnonymization")]
public class SystemAnonymization : BaseFullAuditEntity public class SystemAnonymization : BaseFullAuditEntity
{ {

View File

@ -1,4 +1,7 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("项目阅片 - 任务后处理Instance")]
[Table("TaskInstance")]
public class TaskInstance : BaseFullAuditEntity, IEntitySeqId public class TaskInstance : BaseFullAuditEntity, IEntitySeqId
{ {
#region 导航属性 #region 导航属性

View File

@ -1,4 +1,7 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("项目阅片 - 任务后上传序列")]
[Table("TaskSeries")]
public class TaskSeries : BaseFullDeleteAuditEntity, IEntitySeqId public class TaskSeries : BaseFullDeleteAuditEntity, IEntitySeqId
{ {
#region 导航属性 #region 导航属性

View File

@ -1,4 +1,7 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("项目阅片 - 任务后上传检查")]
[Table("TaskStudy")]
public class TaskStudy : BaseFullDeleteAuditEntity, IEntitySeqId public class TaskStudy : BaseFullDeleteAuditEntity, IEntitySeqId
{ {
#region 导航属性 #region 导航属性

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("项目 - 项目DicomAE")]
[Table("TrialDicomAE")] [Table("TrialDicomAE")]
public class TrialDicomAE : BaseFullAuditEntity public class TrialDicomAE : BaseFullAuditEntity
{ {

View File

@ -1,4 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("项目 - 影像下载监控")]
[Table("TrialImageDownload")] [Table("TrialImageDownload")]
public class TrialImageDownload : BaseFullAuditEntity public class TrialImageDownload : BaseFullAuditEntity
{ {

View File

@ -1,4 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("机构 - 医院")]
[Table("Hospital")] [Table("Hospital")]
public class Hospital : BaseFullAuditEntity public class Hospital : BaseFullAuditEntity
{ {

View File

@ -1,6 +1,8 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("机构 - Site")]
[Table("Site")] [Table("Site")]
public partial class Site : BaseFullAuditEntity public class Site : BaseFullAuditEntity
{ {
#region 导航属性 #region 导航属性
[JsonIgnore] [JsonIgnore]

View File

@ -1,4 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("机构 - Sponsor")]
[Table("Sponsor")] [Table("Sponsor")]
public partial class Sponsor : BaseFullAuditEntity public partial class Sponsor : BaseFullAuditEntity
{ {

View File

@ -1,4 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 系统菜单 (需要同步)")]
[Table("Menu")] [Table("Menu")]
public class Menu : BaseFullAuditEntity public class Menu : BaseFullAuditEntity
{ {

View File

@ -2,6 +2,7 @@ using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 系统通知")]
[Table("SystemNotice")] [Table("SystemNotice")]
public class SystemNotice : BaseFullAuditEntity public class SystemNotice : BaseFullAuditEntity
{ {

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 系统通知用户读取记录")]
[Table("SystemNoticeUserRead")] [Table("SystemNoticeUserRead")]
public class SystemNoticeUserRead : BaseAddAuditEntity public class SystemNoticeUserRead : BaseAddAuditEntity
{ {

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 系统通知用户类型配置")]
[Table("SystemNoticeUserType")] [Table("SystemNoticeUserType")]
public class SystemNoticeUserType : BaseAddAuditEntity public class SystemNoticeUserType : BaseAddAuditEntity
{ {

View File

@ -1,17 +0,0 @@
namespace IRaCIS.Core.Domain.Models;
[Table("Role")]
public partial class Role : BaseFullAuditEntity
{
#region 导航属性
#endregion
public string RoleName { get; set; } = string.Empty;
public string RoleDescription { get; set; } = string.Empty;
public int Status { get; set; }
[Comment("权限级别")]
public int PrivilegeLevel { get; set; }
}

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 用户反馈")]
[Table("UserFeedBack")] [Table("UserFeedBack")]
public class UserFeedBack : BaseFullAuditEntity public class UserFeedBack : BaseFullAuditEntity
{ {

View File

@ -2,6 +2,7 @@ using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 用户账户操作日志")]
[Table("UserLog")] [Table("UserLog")]
public class UserLog : BaseAddAuditEntity public class UserLog : BaseAddAuditEntity
{ {

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 用户修改密码")]
[Table("UserPassWordLog")] [Table("UserPassWordLog")]
public class UserPassWordLog : BaseAddAuditEntity public class UserPassWordLog : BaseAddAuditEntity
{ {

View File

@ -1,6 +1,8 @@
using IRaCIS.Core.Domain.Share; using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 系统用户类型 (需要同步)")]
public class UserType : Entity public class UserType : Entity
{ {
#region 导航属性 #region 导航属性

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 用户类型组(需要同步)")]
[Table("UserTypeGroup")] [Table("UserTypeGroup")]
public class UserTypeGroup : Entity public class UserTypeGroup : Entity
{ {

View File

@ -1,4 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 系统用户类型菜单中间关系表 (需要同步)")]
[Table("UserTypeMenu")] [Table("UserTypeMenu")]
public partial class UserTypeMenu : Entity public partial class UserTypeMenu : Entity
{ {

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("受试者访视 - 既往放疗史")]
[Table("PreviousHistory")] [Table("PreviousHistory")]
public class PreviousHistory : BaseAddAuditEntity public class PreviousHistory : BaseAddAuditEntity
{ {

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("受试者访视 - 既往其他治疗史")]
[Table("PreviousOther")] [Table("PreviousOther")]
public class PreviousOther : BaseAddAuditEntity public class PreviousOther : BaseAddAuditEntity
{ {
@ -20,7 +21,7 @@ public class PreviousOther : BaseAddAuditEntity
public string TreatmentType { get; set; } = String.Empty; public string TreatmentType { get; set; } = String.Empty;
[Comment("临床数据类型Id")] [Comment("临床数据类型Id")]
[Required]
public Guid ClinicalDataTrialSetId { get; set; } public Guid ClinicalDataTrialSetId { get; set; }
} }

View File

@ -1,6 +1,7 @@
using IRaCIS.Core.Domain.Share; using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("受试者访视 - 临床数据配置")]
[Table("PreviousPDF")] [Table("PreviousPDF")]
public class PreviousPDF : BaseAddAuditEntity public class PreviousPDF : BaseAddAuditEntity
{ {

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("受试者访视 - 既往手术史")]
[Table("PreviousSurgery")] [Table("PreviousSurgery")]
public class PreviousSurgery : BaseAddAuditEntity public class PreviousSurgery : BaseAddAuditEntity
{ {
@ -20,6 +21,6 @@ public class PreviousSurgery : BaseAddAuditEntity
public string OperationName { get; set; } = String.Empty; public string OperationName { get; set; } = String.Empty;
[Comment("临床数据类型Id")] [Comment("临床数据类型Id")]
[Required]
public Guid ClinicalDataTrialSetId { get; set; } public Guid ClinicalDataTrialSetId { get; set; }
} }

View File

@ -1,4 +1,5 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("一致性核查文件")] [Comment("一致性核查文件")]
[Table("InspectionFile")] [Table("InspectionFile")]
public class InspectionFile : BaseAddAuditEntity public class InspectionFile : BaseAddAuditEntity

View File

@ -1,6 +1,10 @@
using IRaCIS.Core.Domain.Share; using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("受试者访视 - QC质疑")]
[Table("QCChallenge")]
public class QCChallenge : BaseAddAuditEntity public class QCChallenge : BaseAddAuditEntity
{ {
#region 导航属性 #region 导航属性

View File

@ -1,6 +1,9 @@
using IRaCIS.Core.Domain.Share; using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("受试者访视 - QC质疑对话")]
[Table("QCChallengeDialog")]
public class QCChallengeDialog : BaseAddAuditEntity public class QCChallengeDialog : BaseAddAuditEntity
{ {
#region 导航属性 #region 导航属性

View File

@ -1,6 +1,7 @@
using IRaCIS.Core.Domain.Share; using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - QC质控问题需要同步")]
[Table("QCQuestion")] [Table("QCQuestion")]
public class QCQuestion : BaseFullAuditEntity public class QCQuestion : BaseFullAuditEntity
{ {

View File

@ -1,6 +1,7 @@
using IRaCIS.Core.Domain.Share; using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("项目 - 质控问题")]
[Table("TrialQCQuestion")] [Table("TrialQCQuestion")]
public class TrialQCQuestion : BaseFullAuditEntity public class TrialQCQuestion : BaseFullAuditEntity
{ {

View File

@ -1,6 +1,7 @@
using IRaCIS.Core.Domain.Share; using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("项目 - 质控问题表单答案")]
[Table("TrialQCQuestionAnswer")] [Table("TrialQCQuestionAnswer")]
public class TrialQCQuestionAnswer : BaseFullAuditEntity public class TrialQCQuestionAnswer : BaseFullAuditEntity
{ {

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("受试者 - 附加评估标准结果")]
[Table("SubjectAdditionalEvaluationResult")] [Table("SubjectAdditionalEvaluationResult")]
public class SubjectAdditionalEvaluationResult : BaseFullAuditEntity public class SubjectAdditionalEvaluationResult : BaseFullAuditEntity
{ {

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("受试者 - 参与附加评估标准配置")]
[Table("SubjectCriteriaEvaluation")] [Table("SubjectCriteriaEvaluation")]
public class SubjectCriteriaEvaluation : BaseFullAuditEntity public class SubjectCriteriaEvaluation : BaseFullAuditEntity
{ {

View File

@ -2,6 +2,7 @@ using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("受试者 - 附加评估标准影像筛选")]
[Table("SubjectCriteriaEvaluationVisitFilter")] [Table("SubjectCriteriaEvaluationVisitFilter")]
public class SubjectCriteriaEvaluationVisitFilter : BaseFullAuditEntity public class SubjectCriteriaEvaluationVisitFilter : BaseFullAuditEntity
{ {

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("受试者 - 附加评估标准影像筛选检查")]
[Table("SubjectCriteriaEvaluationVisitStudyFilter")] [Table("SubjectCriteriaEvaluationVisitStudyFilter")]
public class SubjectCriteriaEvaluationVisitStudyFilter : BaseFullAuditEntity public class SubjectCriteriaEvaluationVisitStudyFilter : BaseFullAuditEntity
{ {

View File

@ -1,4 +1,5 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("项目的临床数据")] [Comment("项目的临床数据")]
[Table("ReadingClinicalDataPDF")] [Table("ReadingClinicalDataPDF")]
public class ReadingClinicalDataPDF : BaseAddAuditEntity public class ReadingClinicalDataPDF : BaseAddAuditEntity

View File

@ -1,6 +1,7 @@
using IRaCIS.Core.Domain.Share; using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("一致性分析临床数据")] [Comment("一致性分析临床数据")]
[Table("ReadingConsistentClinicalData")] [Table("ReadingConsistentClinicalData")]
public class ReadingConsistentClinicalData : BaseAddAuditEntity public class ReadingConsistentClinicalData : BaseAddAuditEntity

View File

@ -1,4 +1,5 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("一致性分析临床数据")] [Comment("一致性分析临床数据")]
[Table("ReadingConsistentClinicalDataPDF")] [Table("ReadingConsistentClinicalDataPDF")]
public class ReadingConsistentClinicalDataPDF : BaseAddAuditEntity public class ReadingConsistentClinicalDataPDF : BaseAddAuditEntity

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("项目标准 - 临床数据配置")]
[Table("TrialClinicalDataSetCriterion")] [Table("TrialClinicalDataSetCriterion")]
public class TrialClinicalDataSetCriterion : BaseFullAuditEntity public class TrialClinicalDataSetCriterion : BaseFullAuditEntity
{ {

View File

@ -1,6 +1,7 @@
using IRaCIS.Core.Domain.Share; using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("系统临床数据问题")] [Comment("系统临床数据问题")]
[Table("SystemClinicalQuestion")] [Table("SystemClinicalQuestion")]
public class SystemClinicalQuestion : BaseAddAuditEntity public class SystemClinicalQuestion : BaseAddAuditEntity

View File

@ -2,6 +2,7 @@ using IRaCIS.Core.Domain.Share;
using System.Linq; using System.Linq;
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("系统临床表格问题")] [Comment("系统临床表格问题")]
[Table("SystemClinicalTableQuestion")] [Table("SystemClinicalTableQuestion")]
public class SystemClinicalTableQuestion : BaseAddAuditEntity public class SystemClinicalTableQuestion : BaseAddAuditEntity

View File

@ -1,6 +1,7 @@
using IRaCIS.Core.Domain.Share; using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("项目临床数据问题")] [Comment("项目临床数据问题")]
[Table("TrialClinicalQuestion")] [Table("TrialClinicalQuestion")]
public class TrialClinicalQuestion : BaseAddAuditEntity public class TrialClinicalQuestion : BaseAddAuditEntity

View File

@ -2,6 +2,7 @@ using IRaCIS.Core.Domain.Share;
using System.Linq; using System.Linq;
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("项目临床表格问题")] [Comment("项目临床表格问题")]
[Table("TrialClinicalTableQuestion")] [Table("TrialClinicalTableQuestion")]
public class TrialClinicalTableQuestion : BaseAddAuditEntity public class TrialClinicalTableQuestion : BaseAddAuditEntity

View File

@ -1,4 +1,5 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("受试者 - 临床表单表格问题行记录")] [Comment("受试者 - 临床表单表格问题行记录")]
[Table("ClinicalAnswerRowInfo")] [Table("ClinicalAnswerRowInfo")]
public class ClinicalAnswerRowInfo : BaseAddAuditEntity public class ClinicalAnswerRowInfo : BaseAddAuditEntity

View File

@ -1,4 +1,5 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("受试者 - 临床表单")] [Comment("受试者 - 临床表单")]
[Table("ClinicalForm")] [Table("ClinicalForm")]
public class ClinicalForm : BaseAddAuditEntity public class ClinicalForm : BaseAddAuditEntity

View File

@ -1,5 +1,6 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("受试者 - 阅片模块临床表单")]
[Table("ReadModuleCriterionFrom")] [Table("ReadModuleCriterionFrom")]
public class ReadModuleCriterionFrom : BaseAddAuditEntity public class ReadModuleCriterionFrom : BaseAddAuditEntity
{ {

View File

@ -1,6 +1,7 @@
using IRaCIS.Core.Domain.Share; using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("阅片医学审核对话")] [Comment("阅片医学审核对话")]
[Table("ReadingMedicalReviewDialog")] [Table("ReadingMedicalReviewDialog")]
public class ReadingMedicalReviewDialog : BaseAddAuditEntity public class ReadingMedicalReviewDialog : BaseAddAuditEntity

View File

@ -1,4 +1,5 @@
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("阅片医学问题答案")] [Comment("阅片医学问题答案")]
[Table("ReadingMedicineQuestionAnswer")] [Table("ReadingMedicineQuestionAnswer")]
public class ReadingMedicineQuestionAnswer : BaseFullAuditEntity public class ReadingMedicineQuestionAnswer : BaseFullAuditEntity

View File

@ -1,6 +1,7 @@
using IRaCIS.Core.Domain.Share; using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("阅片医学审核系统问题")] [Comment("阅片医学审核系统问题")]
[Table("ReadingMedicineSystemQuestion")] [Table("ReadingMedicineSystemQuestion")]
public class ReadingMedicineSystemQuestion : BaseFullAuditEntity public class ReadingMedicineSystemQuestion : BaseFullAuditEntity

View File

@ -1,5 +1,6 @@
using IRaCIS.Core.Domain.Share; using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models; namespace IRaCIS.Core.Domain.Models;
[Comment("阅片医学审核项目问题")] [Comment("阅片医学审核项目问题")]
[Table("ReadingMedicineTrialQuestion")] [Table("ReadingMedicineTrialQuestion")]
public class ReadingMedicineTrialQuestion : BaseFullAuditEntity public class ReadingMedicineTrialQuestion : BaseFullAuditEntity

Some files were not shown because too many files have changed in this diff Show More