GlobalUsings 清理实体层
continuous-integration/drone/push Build is passing Details

IRC_NewDev
hang 2024-09-20 09:20:04 +08:00
parent 0a1ce59670
commit 32931e155c
187 changed files with 7126 additions and 7323 deletions

View File

@ -293,6 +293,9 @@ namespace IRaCIS.Application.Services
Console.WriteLine(AesEncryption.Encrypt(MD5Helper.Md5("123456"), key));
Console.WriteLine();
Console.WriteLine(AesEncryption.Encrypt("cyldev", key));
Console.WriteLine($"原始文本: {plainText}");

View File

@ -3,18 +3,13 @@
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-06-10 11:59:27
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Collections.Generic;
using System.ComponentModel;
using Microsoft.EntityFrameworkCore;
namespace IRaCIS.Core.Domain.Models;
namespace IRaCIS.Core.Domain.Models
{
[Comment("受试者 - 项目标准阅片医生配置表")]
[Description("受试者某标准阅片用户中间关系表")]
[Table("SubjectUser")]
public class SubjectUser : BaseFullAuditEntity
{
@ -40,23 +35,27 @@ public class SubjectUser : BaseFullAuditEntity
public Subject Subject { get; set; }
#endregion
public Arm ArmEnum { get; set; }
public DateTime? AssignTime { get; set; }
public Guid DoctorUserId { get; set; }
public bool IsConfirmed { get; set; }
[Comment("该属性有值 说明该医生被替换了 分配的时候 要过滤掉")]
public Guid? ReplacedSubjectUserId { get; set; }
public Guid SubjectId { get; set; }
public Guid TrialId { get; set; }
public Guid TrialReadingCriterionId { get; set; }
public DateTime? AssignTime { get; set; }
public Guid SubjectId { get; set; }
public Guid DoctorUserId { get; set; }
public Arm ArmEnum { get; set; }
public bool IsConfirmed { get; set; } = true;
//该属性有值 说明该医生被替换了 分配的时候 要过滤掉
public Guid? ReplacedSubjectUserId { get; set; }
}
}

View File

@ -1,18 +1,12 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-06-07 13:13:13
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
namespace IRaCIS.Core.Domain.Models;
[Comment("项目阅片 - 分配规则")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///TaskAllocationRule
///</summary>
[Table("TaskAllocationRule")]
public class TaskAllocationRule : BaseFullAuditEntity
{
@ -30,24 +24,27 @@ public class TaskAllocationRule : BaseFullAuditEntity
#endregion
public Guid TrialId { get; set; }
public Guid DoctorUserId { get; set; }
[Comment(" 入组表Id 可以去掉 TrialId DoctorUserId")]
public Guid EnrollId { get; set; }
public int PlanSubjectCount { get; set; }
public bool IsEnable { get; set; }
public string Note { get; set; } = string.Empty;
public Guid DoctorUserId { get; set; }
public Guid EnrollId { get; set; }
//是否是裁判医生 裁判医生单独加入
public bool IsJudgeDoctor { get; set; }
public string Note { get; set; } = null!;
[Comment(" 计划比率")]
public int PlanReadingRatio { get; set; }
public int PlanSubjectCount { get; set; }
}
}

View File

@ -1,17 +1,12 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-07-01 15:32:56
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore;
namespace IRaCIS.Core.Domain.Models;
[Comment("项目阅片 - 一致性分析生成任务配置")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///TaskConsistentRule
///</summary>
[Table("TaskConsistentRule")]
public class TaskConsistentRule : BaseFullAuditEntity
{
@ -56,4 +51,4 @@ public class TaskConsistentRule : BaseFullAuditEntity
}
}

View File

@ -1,16 +1,12 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-07-21 13:44:02
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace IRaCIS.Core.Domain.Models;
[Comment("项目阅片 - 退回重阅影响")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///TaskInfluence
///</summary>
[Table("TaskInfluence")]
public class TaskInfluence : BaseAddAuditEntity
{
@ -27,7 +23,7 @@ public class TaskInfluence : BaseAddAuditEntity
public Guid InfluenceTaskId { get; set; }
[Comment(" 对影响任务进行的操作")]
//对影响任务进行的操作
public ReReadingOrBackOptType OptType { get; set; }
@ -48,3 +44,5 @@ public enum ReReadingOrBackOptType
Return = 2,
}
}

View File

@ -3,24 +3,20 @@
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-06-29 10:56:50
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using Microsoft.EntityFrameworkCore;
namespace IRaCIS.Core.Domain.Models;
namespace IRaCIS.Core.Domain.Models
{
public class OSSImageInfo
{
public string FileName { get; set; } = string.Empty;
public string ImagePath { get; set; } = string.Empty;
}
[Comment("项目阅片 - 医学审核")]
///<summary>
///TaskMedicalReview
///</summary>
[Table("TaskMedicalReview")]
public class TaskMedicalReview : BaseFullAuditEntity
{
@ -190,3 +186,7 @@ public class TaskMedicalReview : BaseFullAuditEntity
}
}

View File

@ -1,25 +1,18 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-06-29 13:32:34
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
namespace IRaCIS.Core.Domain.Models;
[Comment("项目阅片 - 一致性分析规则")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///TaskTaskMedicalReviewRule
///</summary>
[Table("TaskMedicalReviewRule")]
public class TaskMedicalReviewRule : BaseFullAuditEntity
{
#region 导航属性
[JsonIgnore]
public User DoctorUser { get; set; }
#endregion
public Guid DoctorUserId { get; set; }
@ -38,7 +31,8 @@ public class TaskMedicalReviewRule : BaseFullAuditEntity
public int PlanTumorCount { get; set; }
[JsonIgnore]
public User DoctorUser { get; set; }
@ -46,4 +40,4 @@ public class TaskMedicalReviewRule : BaseFullAuditEntity
}
}

View File

@ -1,16 +1,12 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2024-02-29 15:48:36
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace IRaCIS.Core.Domain.Models;
[Comment("项目 - 虚拟中心编号更新记录")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///TrialVirtualSiteCodeUpdate
///</summary>
[Table("TrialVirtualSiteCodeUpdate")]
public class TrialVirtualSiteCodeUpdate : BaseAddAuditEntity
{
@ -21,9 +17,12 @@ public class TrialVirtualSiteCodeUpdate : BaseAddAuditEntity
public Guid TrialId { get; set; }
[StringLength(250)]
public string VirturalSiteCode { get; set; } = string.Empty;
}
}

View File

@ -3,16 +3,12 @@
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-06-07 14:09:29
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Collections.Generic;
using System.Linq;
using EntityFrameworkCore.Projectables;
using IRaCIS.Core.Domain.Share;
using System.Linq;
namespace IRaCIS.Core.Domain.Models;
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///VisitTask
///</summary>
@ -435,3 +431,4 @@ public class VisitTask : BaseFullAuditEntity
}
}

View File

@ -3,16 +3,13 @@
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-06-07 14:09:29
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
namespace IRaCIS.Core.Domain.Models;
[Comment("项目阅片 - 阅片任务重阅表")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///重阅申请流程记录表
///</summary>
[Table("VisitTaskReReading")]
public class VisitTaskReReading : BaseFullAuditEntity
{
@ -36,39 +33,43 @@ public class VisitTaskReReading : BaseFullAuditEntity
#endregion
public Guid TrialId { get; set; }
[Comment(" 重阅原始任务Id")]
//重阅原始任务Id 重阅会产生新的任务
public Guid OriginalReReadingTaskId { get; set; }
[Comment(" 重阅确认人")]
public Guid? RequestReReadingConfirmUserId { get; set; }
[Comment(" 请求重阅人")]
public Guid RequestReReadingUserId { get; set; }
//产生重阅的根任务Id
public Guid RootReReadingTaskId { get; set; }
[Comment("仅仅包括全局和访视")]
public bool IsCopyFollowForms { get; set; }
[Comment(" 是否复制之前任务表单数据")]
public bool IsCopyOrigenalForms { get; set; }
//重阅申请 产生的新任务Id
public Guid? NewReReadingTaskId { get; set; }
public Guid RequestReReadingUserId { get; set; }
[StringLength(512)]
public string RequestReReadingReason { get; set; } = null!;
public DateTime RequestReReadingTime { get; set; }
public string RequestReReadingRejectReason { get; set; } = null!;
//申请回退类型
public RequestReReadingType RequestReReadingType { get; set; }
public string RequestReReadingReason { get; set; } = string.Empty;
public string RequestReReadingRejectReason { get; set; } = string.Empty;
public RequestReReadingResult RequestReReadingResultEnum { get; set; }
public DateTime? RequestReReadingTime { get; set; }
public Guid? RequestReReadingConfirmUserId { get; set; }
public RequestReReadingType RequestReReadingType { get; set; }
public bool IsCopyOrigenalForms { get; set; }
//仅仅包括全局和访视
public bool IsCopyFollowForms { get; set; }
}
}

View File

@ -1,11 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IRaCIS.Core.Domain.BaseModel;
namespace IRaCIS.Core.Domain.BaseModel
{
/// <summary>
/// 领域实体事件基类
/// </summary>
@ -21,3 +15,4 @@ public class FailedDomainEvent
public string EventData { get; set; } = string.Empty;
public DateTime FailedAt { get; set; }
}
}

View File

@ -1,12 +1,7 @@
using IRaCIS.Core.Domain.BaseModel;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Security.Cryptography;
namespace IRaCIS.Core.Domain.Models;
namespace IRaCIS.Core.Domain.Models
{
public interface IAggregateRoot;
@ -124,3 +119,5 @@ public abstract class BaseAuditUpdateEntity : Entity, IAuditUpdate
#endregion
}

View File

@ -1,7 +1,5 @@
using System;
namespace IRaCIS.Core.Domain.Models;
namespace IRaCIS.Core.Domain.Models
{
public interface IAuditAdd<TKey> where TKey : struct
{
public TKey CreateUserId { get; set; }
@ -21,3 +19,7 @@ public interface IAuditAddWithUserName : IAuditAdd<Guid>
{
public string CreateUser { get; set; }
}
}

View File

@ -1,7 +1,5 @@
using System;
namespace IRaCIS.Core.Domain.Models;
namespace IRaCIS.Core.Domain.Models
{
public interface IAuditUpdate<TKey> where TKey : struct
{
public TKey UpdateUserId { get; set; }
@ -12,3 +10,9 @@ public interface IAuditUpdate : IAuditUpdate<Guid>
{
}
}

View File

@ -1,7 +1,5 @@
using System;
namespace IRaCIS.Core.Domain.Models;
namespace IRaCIS.Core.Domain.Models
{
public interface ISoftDelete<TKey> where TKey : struct
{
public TKey? DeleteUserId { get; set; }
@ -14,3 +12,6 @@ public interface ISoftDelete : ISoftDelete<Guid>
{
}
}

View File

@ -3,11 +3,7 @@
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-03-31 13:18:42
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace IRaCIS.Core.Domain.Models;

View File

@ -1,9 +1,5 @@
using IRaCIS.Core.Domain.Share;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;

View File

@ -4,12 +4,6 @@
// 生成时间 2022-02-15 11:55:43
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using IRaCIS.Core.Domain.Share;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
namespace IRaCIS.Core.Domain.Models;

View File

@ -1,13 +1,7 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2024-07-02 09:26:43
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 浏览器推荐 (需要同步)")]

View File

@ -1,15 +1,7 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-03-28 16:43:12
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
namespace IRaCIS.Core.Domain.Models;
[Comment("稽查 - 配置表 (需要同步)")]

View File

@ -1,16 +1,12 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2023-06-01 13:37:10
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 国际化配置表 (需要同步)")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///Internationalization
///</summary>
[Table("Internationalization")]
public class Internationalization : BaseFullAuditEntity
{
@ -19,37 +15,34 @@ public class Internationalization : BaseFullAuditEntity
public PublishLog PublishLog { get; set; }
#endregion
[StringLength(400)]
public string Code { get; set; } = null!;
[StringLength(400)]
public string Description { get; set; } = null!;
[Comment(" 前端类型")]
[StringLength(1000)]
public string FrontType { get; set; } = null!;
[Comment(" 前端还是后端")]
public int InternationalizationType { get; set; }
[Comment(" 模块")]
public string Module { get; set; } = null!;
[Comment(" 版本")]
public Guid? PublishLogId { get; set; }
public int ShowOrder { get; set; }
//[Comment(" 0 1 2 预翻译 已确认 废除")]
/// <summary>
/// 0 1 2 预翻译 已确认 废除
/// </summary>
public int State { get; set; }
[StringLength(2000)]
public string Value { get; set; } = null!;
[StringLength(2000)]
public string ValueCN { get; set; } = null!;
public string Description { get; set; } = string.Empty;
public string Code { get; set; } = string.Empty;
public string Value { get; set; } = string.Empty;
public string ValueCN { get; set; } = string.Empty;
public int InternationalizationType { get; set; }
public string FrontType { get; set; } = string.Empty;
public string Module { get; set; } = string.Empty;
//关联版本历史记录表Id
public Guid? PublishLogId { get; set; }
}
}

View File

@ -1,33 +1,28 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2023-06-27 15:46:59
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 系统发布日志 (需要同步)")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///PublishLog
///</summary>
[Table("PublishLog")]
public class PublishLog : BaseFullAuditEntity
{
public bool IsCurrentVersion { get; set; }
public string Version { get; set; } = string.Empty;
public DateTime? PublishTime { get; set; }
[Comment("0 开发中 1已发布")]
public string UpdateContent { get; set; } = string.Empty;
//0 开发中 ,已发布
public int State { get; set; }
[MaxLength]
public string? UpdateContent { get; set; }
public string Version { get; set; } = null!;
public bool IsCurrentVersion { get; set; }
}
}

View File

@ -4,14 +4,11 @@
// 生成时间 2022-02-15 15:45:52
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using IRaCIS.Core.Domain.Share;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("系统 - 签名模板场景配置 (需要同步)")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///SystemBasicData
///</summary>
[Table("SystemBasicData")]
public class SystemBasicData : BaseFullAuditEntity
{
@ -24,28 +21,26 @@ public class SystemBasicData : BaseFullAuditEntity
#endregion
public BasicDataTypeEnum BasicDataTypeEnum { get; set; }
public string Name { get; set; } = string.Empty;
[StringLength(512)]
public string Code { get; set; } = null!;
public string Value { get; set; } = string.Empty;
[StringLength(512)]
public string Description { get; set; } = null!;
public bool IsEnable { get; set; }
[StringLength(400)]
public string Name { get; set; } = null!;
public Guid? ParentId { get; set; }
public string Description { get; set; } = string.Empty;
public int ShowOrder { get; set; }
[StringLength(512)]
public string Value { get; set; } = null!;
public string Code { get; set; } = string.Empty;
[StringLength(512)]
public string ValueCN { get; set; } = null!;
public Guid? ParentId { get; set; }
public string ValueCN { get; set; } = string.Empty;
public bool IsEnable { get; set; }
public BasicDataTypeEnum BasicDataTypeEnum { get; set; }
}
}

View File

@ -1,26 +1,27 @@
using IRaCIS.Core.Domain.Share;
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 验证码记录")]
namespace IRaCIS.Core.Domain.Models
{
[Table("VerificationCode")]
public class VerificationCode : BaseAddAuditEntity
{
public Guid UserId { get; set; } = Guid.Empty;
//验证码
public string Code { get; set; } = string.Empty;
[Comment("邮箱|手机")]
//什么类型的验证码 邮箱|手机
public VerifyType CodeType { get; set; }
public bool HasSend { get; set; }
//发送的邮箱或者手机
public string EmailOrPhone { get; set; } = string.Empty;
//过期时间
public DateTime ExpirationTime { get; set; }
}
}

View File

@ -1,8 +1,3 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
//public enum AttachmentType

View File

@ -1,9 +1,4 @@
using IRaCIS.Core.Domain.Share;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;

View File

@ -3,11 +3,7 @@
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2023-01-09 14:34:17
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace IRaCIS.Core.Domain.Models;
[Comment("医生 - 项目标准签名文档")]

View File

@ -1,8 +1,3 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;

View File

@ -1,8 +1,3 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("医生计费 - 工作量记录表")]

View File

@ -1,8 +1,3 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("医生 - 教育信息")]

View File

@ -1,16 +1,12 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2024-02-29 15:51:46
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace IRaCIS.Core.Domain.Models;
[Comment("医生 - 项目阅片标准参与一致性分析配置表")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///EnrollReadingCriterion
///</summary>
[Table("EnrollReadingCriterion")]
public class EnrollReadingCriterion : BaseAddAuditEntity
{
@ -33,4 +29,4 @@ public class EnrollReadingCriterion : BaseAddAuditEntity
}
}

View File

@ -1,63 +1,58 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("Ò½Éú - ¼ÌÐø½ÌÓý¾­Àú")]
namespace IRaCIS.Core.Domain.Models
{
[Table("Postgraduate")]
public class Postgraduate : BaseFullAuditEntity
public partial class Postgraduate : BaseFullAuditEntity
{
#region 导航属性
#endregion
public DateOnly? BeginDate { get; set; }
[StringLength(400)]
public string City { get; set; } = null!;
[StringLength(400)]
public string CityCN { get; set; } = null!;
[StringLength(400)]
public string Country { get; set; } = null!;
[StringLength(400)]
public string CountryCN { get; set; } = null!;
public Guid DoctorId { get; set; }
public DateOnly? EndDate { get; set; }
[Column(TypeName = "date")]
public DateTime? BeginDate { get; set; }
[StringLength(400)]
public string Hospital { get; set; } = null!;
[Column(TypeName = "date")]
public DateTime? EndDate { get; set; }
[StringLength(400)]
public string HospitalCN { get; set; } = null!;
[StringLength(50)]
public string Training { get; set; } = string.Empty;
[StringLength(400)]
public string Major { get; set; } = null!;
[StringLength(100)]
public string Major { get; set; } = string.Empty;
[StringLength(400)]
public string MajorCN { get; set; } = null!;
[StringLength(100)]
public string Hospital { get; set; } = string.Empty;
[StringLength(400)]
public string Province { get; set; } = null!;
[StringLength(100)]
public string School { get; set; } = string.Empty;
[StringLength(100)]
public string Country { get; set; } = string.Empty;
[StringLength(400)]
public string ProvinceCN { get; set; } = null!;
[StringLength(100)]
public string Province { get; set; } = string.Empty;
[StringLength(400)]
public string School { get; set; } = null!;
[StringLength(100)]
public string City { get; set; } = string.Empty;
[StringLength(400)]
public string SchoolCN { get; set; } = null!;
[StringLength(50)]
public string TrainingCN { get; set; } = string.Empty;
[StringLength(400)]
public string Training { get; set; } = null!;
[StringLength(100)]
public string MajorCN { get; set; } = string.Empty;
[StringLength(400)]
public string TrainingCN { get; set; } = null!;
[StringLength(100)]
public string HospitalCN { get; set; } = string.Empty;
[StringLength(100)]
public string SchoolCN { get; set; } = string.Empty;
[StringLength(100)]
public string CountryCN { get; set; } = string.Empty;
[StringLength(100)]
public string ProvinceCN { get; set; } = string.Empty;
[StringLength(100)]
public string CityCN { get; set; } = string.Empty;
}
}

View File

@ -1,40 +1,20 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("Ò½Éú - ¿ÆÑÐѧÊõ¼Ç¼")]
namespace IRaCIS.Core.Domain.Models
{
[Table("ResearchPublication")]
public partial class ResearchPublication : BaseFullAuditEntity
{
#region 导航属性
#endregion
[MaxLength]
public string? AwardsHonors { get; set; }
[MaxLength]
public string? AwardsHonorsCN { get; set; }
public Guid DoctorId { get; set; }
public string Research { get; set; } = string.Empty;
public string Grants { get; set; } = string.Empty;
public string Publications { get; set; } = string.Empty;
public string AwardsHonors { get; set; } = string.Empty;
[MaxLength]
public string? Grants { get; set; }
[MaxLength]
public string? GrantsCN { get; set; }
[MaxLength]
public string? Publications { get; set; }
[MaxLength]
public string? PublicationsCN { get; set; }
[MaxLength]
public string? Research { get; set; }
[MaxLength]
public string? ResearchCN { get; set; }
public string ResearchCN { get; set; } = string.Empty;
public string GrantsCN { get; set; } = string.Empty;
public string PublicationsCN { get; set; } = string.Empty;
public string AwardsHonorsCN { get; set; } = string.Empty;
}
}

View File

@ -1,12 +1,5 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models
{
[Comment("医生 - 项目临床经历")]
[Table("TrialExperience")]
public partial class TrialExperience : BaseFullAuditEntity
{
@ -14,8 +7,6 @@ namespace IRaCIS.Core.Domain.Models
[JsonIgnore]
public List<TrialExperienceCriteria> ExperienceCriteriaList { get; set; }
[JsonIgnore]
public Dictionary Phase { get; set; }
#endregion
@ -23,7 +14,7 @@ namespace IRaCIS.Core.Domain.Models
public Guid? PhaseId { get; set; }
public Dictionary Phase { get; set; }
[StringLength(512)]
public string EvaluationContent { get; set; } = string.Empty;

View File

@ -1,7 +1,4 @@
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models
namespace IRaCIS.Core.Domain.Models
{
public class TrialExperienceCriteria : Entity
{

View File

@ -1,10 +1,5 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("医生 - 假期安排")]
namespace IRaCIS.Core.Domain.Models
{
[Table("Vacation")]
public class Vacation : BaseFullAuditEntity
{
@ -17,3 +12,4 @@ public class Vacation : BaseFullAuditEntity
public int Status { get; set; } = 1;
}
}

View File

@ -1,15 +1,12 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-01-14 15:04:22
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 系统文档签署记录")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///SystemDocConfirmedUser
///</summary>
[Table("SystemDocConfirmedUser")]
public class SystemDocConfirmedUser : BaseAddDeleteAuditEntity
@ -25,16 +22,18 @@ public class SystemDocConfirmedUser : BaseAddDeleteAuditEntity
public Guid SystemDocumentId { get; set; }
public DateTime? ConfirmTime { get; set; }
public Guid ConfirmUserId { get; set; }
public DateTime? SignFirstViewTime { get; set; }
[StringLength(1024)]
public string SignText { get; set; } = null!;
public Guid SystemDocumentId { get; set; }
public string SignText { get; set; } = string.Empty;
}
}

View File

@ -1,15 +1,12 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-01-14 15:04:23
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 系统文档需要签署用户类型")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///SystemDocNeedConfirmedUserType
///</summary>
[Table("SystemDocNeedConfirmedUserType")]
public class SystemDocNeedConfirmedUserType : Entity
{
@ -29,4 +26,4 @@ public class SystemDocNeedConfirmedUserType : Entity
}
}

View File

@ -1,12 +1,7 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-01-05 09:11:49
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models
{
///<summary>
@ -28,15 +23,15 @@ namespace IRaCIS.Core.Domain.Models
public Guid FileTypeId { get; set; }
[StringLength(2000)]
public string Name { get; set; } = null!;
[StringLength(2000)]
public string Path { get; set; } = null!;
public string Name { get; set; } = string.Empty;
public int SignViewMinimumMinutes { get; set; }
public string Path { get; set; } = string.Empty;
}

View File

@ -1,15 +1,12 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-01-05 18:02:45
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("项目 - 项目文档签署记录")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///TrialDocUserTypeConfirmUser
///</summary>
[Table("TrialDocConfirmedUser")]
public class TrialDocConfirmedUser : BaseAddDeleteAuditEntity
{
@ -36,7 +33,7 @@ public class TrialDocConfirmedUser : BaseAddDeleteAuditEntity
public DateTime? SignFirstViewTime { get; set; }
[StringLength(512)]
public string SignText { get; set; } = string.Empty;
@ -44,4 +41,4 @@ public class TrialDocConfirmedUser : BaseAddDeleteAuditEntity
}
}

View File

@ -1,16 +1,12 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-01-05 09:11:50
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("项目 - 项目文档需要签署的用户类型")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///TrialDocumentUserConfirm
///</summary>
[Table("TrialDocNeedConfirmedUserType")]
public class TrialDocNeedConfirmedUserType : Entity
{
@ -32,4 +28,4 @@ public class TrialDocNeedConfirmedUserType : Entity
}
}

View File

@ -1,16 +1,12 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-01-05 09:11:50
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("项目 - 项目文档")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///TrialDocument
///</summary>
[Table("TrialDocument")]
public class TrialDocument : BaseFullDeleteAuditEntity
{
@ -37,7 +33,6 @@ public class TrialDocument : BaseFullDeleteAuditEntity
public Guid TrialId { get; set; }
[StringLength(1000)]
public string Description { get; set; } = string.Empty;
public int SignViewMinimumMinutes { get; set; }
@ -46,4 +41,4 @@ public class TrialDocument : BaseFullDeleteAuditEntity
}
}

View File

@ -3,13 +3,7 @@
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-10-20 11:51:58
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore;
namespace IRaCIS.Core.Domain.Models;

View File

@ -3,21 +3,22 @@
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-10-21 16:06:20
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace IRaCIS.Core.Domain.Models;
[Comment("项目 - 项目邮件收发配置用户类型")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///TrialEmailNoticeUser
///</summary>
[Table("TrialEmailNoticeUser")]
public class TrialEmailNoticeUser : Entity
{
#region 导航属性
#endregion
[JsonIgnore]
public TrialEmailNoticeConfig TrialEmailNoticeConfig { get; set; }
#endregion
public UserTypeEnum UserType { get; set; }
@ -28,4 +29,4 @@ public class TrialEmailNoticeUser : Entity
public EmailUserType EmailUserType { get; set; }
}
}

View File

@ -1,9 +1,5 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
namespace IRaCIS.Core.Domain.Models
{
[Table("CalculateTask")]
public class CalculateTask : Entity
{
@ -13,3 +9,4 @@ public class CalculateTask : Entity
public string YearMonth { get; set; } = string.Empty;
public bool IsLock { get; set; }
}
}

View File

@ -1,16 +1,12 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
namespace IRaCIS.Core.Domain.Models
{
[Table("ExchangeRate")]
public class ExchangeRate : BaseFullAuditEntity
{
[StringLength(400)]
public string YearMonth { get; set; } = string.Empty;
[DecimalPrecision(18, 2)]
[Column(TypeName = "decimal(18,2)")]
public decimal Rate { get; set; }
}
}

View File

@ -1,54 +1,37 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("医生计费 - 每月支付记录表")]
[Table("Payment")]
public class Payment : BaseFullAuditEntity
namespace IRaCIS.Core.Domain.Models
{
[DecimalPrecision(18, 4)]
public decimal ActuallyPaidCNY { get; set; }
[DecimalPrecision(18, 4)]
public decimal AdjustmentCNY { get; set; }
[DecimalPrecision(18, 2)]
public decimal AdjustmentUSD { get; set; }
[DecimalPrecision(18, 4)]
public decimal BankTransferCNY { get; set; }
public DateTime CalculateTime { get; set; } = DateTime.Now;
[StringLength(400)]
public string CalculateUser { get; set; } = null!;
[Table("Payment")]
public partial class Payment : BaseFullAuditEntity
{
public Guid DoctorId { get; set; }
[DecimalPrecision(18, 2)]
public decimal ExchangeRate { get; set; }
public string YearMonth { get; set; } = string.Empty;
public bool IsLock { get; set; }
[StringLength(1000)]
public string Note { get; set; } = null!;
[DecimalPrecision(18, 4)]
public decimal PaymentCNY { get; set; }
[DecimalPrecision(18, 2)]
public decimal PaymentUSD { get; set; }
[DecimalPrecision(18, 4)]
public decimal TaxCNY { get; set; }
[StringLength(400)]
public string YearMonth { get; set; } = null!;
public DateTime YearMonthDate { get; set; }
[Column(TypeName = "decimal(18,2)")]
public decimal PaymentUSD { get; set; }
[Column(TypeName = "decimal(18,4)")]
public decimal PaymentCNY { get; set; }
[Column(TypeName = "decimal(18,2)")]
public decimal ExchangeRate { get; set; }
[Column(TypeName = "decimal(18,4)")]
public decimal AdjustmentCNY { get; set; }
[Column(TypeName = "decimal(18,2)")]
public decimal AdjustmentUSD { get; set; }
public DateTime CalculateTime { get; set; } = DateTime.Now;
[StringLength(100)]
public string CalculateUser { get; set; } = string.Empty;
[StringLength(500)]
public string Note { get; set; } = string.Empty;
}
}

View File

@ -1,35 +1,26 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("医生计费 - 项目每月调整记录表")]
namespace IRaCIS.Core.Domain.Models
{
[Table("PaymentAdjustment")]
public partial class PaymentAdjustment : BaseFullAuditEntity
{
[DecimalPrecision(18, 4)]
public decimal AdjustmentCNY { get; set; }
[DecimalPrecision(18, 2)]
public decimal AdjustmentUSD { get; set; }
[DecimalPrecision(18, 2)]
public decimal ExchangeRate { get; set; }
public bool IsLock { get; set; }
[StringLength(1000)]
public string Note { get; set; } = null!;
public Guid ReviewerId { get; set; }
public Guid TrialId { get; set; }
[StringLength(400)]
public string YearMonth { get; set; } = null!;
public DateTime YearMonthDate { get; set; }
public string YearMonth { get; set; } = string.Empty;
[Column(TypeName = "decimal(18,2)")]
public decimal AdjustmentUSD { get; set; }
[Column(TypeName = "decimal(18,4)")]
public decimal AdjustmentCNY { get; set; }
public Guid TrialId { get; set; } = Guid.Empty;
[Column(TypeName = "decimal(18,2)")]
public decimal ExchangeRate { get; set; }
public bool IsLock { get; set; } = false;
public string Note { get; set; } = string.Empty;
}
}

View File

@ -1,51 +1,40 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("医生计费 - 每月支付详情表")]
[Table("PaymentDetail")]
public class PaymentDetail : BaseFullAuditEntity
namespace IRaCIS.Core.Domain.Models
{
[Table("PaymentDetail")]
public partial class PaymentDetail : BaseFullAuditEntity
{
[DecimalPrecision(18, 2)]
public decimal BasePrice { get; set; }
public int Count { get; set; }
public Guid DoctorId { get; set; }
[DecimalPrecision(18, 2)]
public decimal ExchangeRate { get; set; }
[DecimalPrecision(18, 4)]
public decimal PaymentCNY { get; set; }
public Guid PaymentId { get; set; }
[StringLength(400)]
public string PaymentType { get; set; } = null!;
[DecimalPrecision(18, 2)]
public decimal PaymentUSD { get; set; }
[DecimalPrecision(18, 2)]
public decimal PersonalAdditional { get; set; }
public int ShowCodeOrder { get; set; }
public int ShowTypeOrder { get; set; }
[DecimalPrecision(18, 2)]
public decimal TrialAdditional { get; set; }
[StringLength(400)]
public string TrialCode { get; set; } = null!;
public Guid DoctorId { get; set; }
public string YearMonth { get; set; } = string.Empty;
public Guid TrialId { get; set; }
[StringLength(400)]
public string YearMonth { get; set; } = null!;
[StringLength(50)]
public string TrialCode { get; set; } = string.Empty;
[StringLength(50)]
public string PaymentType { get; set; } = string.Empty;
public int Count { get; set; }
[Column(TypeName = "decimal(18,2)")]
public decimal BasePrice { get; set; }
[Column(TypeName = "decimal(18,2)")]
public decimal PersonalAdditional { get; set; }
[Column(TypeName = "decimal(18,2)")]
public decimal TrialAdditional { get; set; }
[Column(TypeName = "decimal(18,2)")]
public decimal ExchangeRate { get; set; }
[Column(TypeName = "decimal(18,2)")]
public decimal PaymentUSD { get; set; }
[Column(TypeName = "decimal(18,4)")]
public decimal PaymentCNY { get; set; }
public int ShowTypeOrder { get; set; }
public int ShowCodeOrder { get; set; }
}
}

View File

@ -1,43 +1,40 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
namespace IRaCIS.Core.Domain.Models
{
[Table("RankPrice")]
public partial class RankPrice : BaseFullAuditEntity
{
[DecimalPrecision(18, 2)]
public decimal Adjudication { get; set; }
[StringLength(200)]
public string RankName { get; set; } = string.Empty;
[DecimalPrecision(18, 2)]
public decimal AdjudicationIn24H { get; set; }
[DecimalPrecision(18, 2)]
public decimal AdjudicationIn48H { get; set; }
[DecimalPrecision(18, 2)]
public decimal Downtime { get; set; }
[DecimalPrecision(18, 2)]
public decimal Global { get; set; }
public string RankName { get; set; } = null!;
[DecimalPrecision(18, 2)]
public decimal RefresherTraining { get; set; }
public int ShowOrder { get; set; }
[DecimalPrecision(18, 2)]
[Column(TypeName = "decimal(18,2)")]
public decimal Timepoint { get; set; }
[DecimalPrecision(18, 2)]
[Column(TypeName = "decimal(18,2)")]
public decimal TimepointIn24H { get; set; }
[DecimalPrecision(18, 2)]
[Column(TypeName = "decimal(18,2)")]
public decimal TimepointIn48H { get; set; }
[DecimalPrecision(18, 2)]
[Column(TypeName = "decimal(18,2)")]
public decimal Adjudication { get; set; }
[Column(TypeName = "decimal(18,2)")]
public decimal AdjudicationIn24H { get; set; }
[Column(TypeName = "decimal(18,2)")]
public decimal AdjudicationIn48H { get; set; }
[Column(TypeName = "decimal(18,2)")]
public decimal Global { get; set; }
[Column(TypeName = "decimal(18,2)")]
public decimal Training { get; set; }
[Column(TypeName = "decimal(18,2)")]
public decimal Downtime { get; set; }
[Column(TypeName = "decimal(18,2)")]
public decimal RefresherTraining { get; set; }
public int ShowOrder { get; set; }
}
}

View File

@ -1,8 +1,3 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("医生计费 - 支付信息表")]

View File

@ -1,35 +1,26 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("医生计费 - 项目支付配置")]
[Table("TrialPaymentPrice")]
public class TrialPaymentPrice : BaseFullAuditEntity
namespace IRaCIS.Core.Domain.Models
{
[Table("TrialPaymentPrice")]
public partial class TrialPaymentPrice : BaseFullAuditEntity
{
[JsonIgnore]
public Trial Trial { get; set; }
public Guid TrialId { get; set; }
public Trial Trial { get; set; }
[Column(TypeName = "decimal(18,2)")]
public decimal TrialAdditional { get; set; } = 0;
public string SowName { get; set; } = string.Empty;
public string SowPath { get; set; } = string.Empty;
[Column(TypeName = "decimal(18,2)")]
public decimal AdjustmentMultiple { get; set; } = 1;
[DecimalPrecision(18, 2)]
public decimal AdjustmentMultiple { get; set; }
/// <summary>
/// ÊÇ·ñÓРΪÐÂÏîÄ¿
/// </summary>
public bool? IsNewTrial { get; set; } = false;
[Comment(" 是否为新项目")]
public bool? IsNewTrial { get; set; }
public string SowName { get; set; } = null!;
[StringLength(500)]
public string SowPath { get; set; } = null!;
[DecimalPrecision(18, 2)]
public decimal TrialAdditional { get; set; }
}
}

View File

@ -1,45 +1,39 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("医生计费 - 项目工作量收入单价")]
namespace IRaCIS.Core.Domain.Models
{
[Table("TrialRevenuesPrice")]
public class TrialRevenuesPrice : BaseFullAuditEntity
{
public Guid TrialId { get; set; }
[DecimalPrecision(18, 2)]
public decimal Adjudication { get; set; }
[DecimalPrecision(18, 2)]
public decimal AdjudicationIn24H { get; set; }
[DecimalPrecision(18, 2)]
public decimal AdjudicationIn48H { get; set; }
[DecimalPrecision(18, 2)]
public decimal Downtime { get; set; }
[DecimalPrecision(18, 2)]
public decimal Global { get; set; }
[DecimalPrecision(18, 2)]
public decimal RefresherTraining { get; set; }
[DecimalPrecision(18, 2)]
[Column(TypeName = "decimal(18,2)")]
public decimal Timepoint { get; set; }
[DecimalPrecision(18, 2)]
[Column(TypeName = "decimal(18,2)")]
public decimal TimepointIn24H { get; set; }
[DecimalPrecision(18, 2)]
[Column(TypeName = "decimal(18,2)")]
public decimal TimepointIn48H { get; set; }
[DecimalPrecision(18, 2)]
[Column(TypeName = "decimal(18,2)")]
public decimal Adjudication { get; set; }
[Column(TypeName = "decimal(18,2)")]
public decimal AdjudicationIn24H { get; set; }
[Column(TypeName = "decimal(18,2)")]
public decimal AdjudicationIn48H { get; set; }
[Column(TypeName = "decimal(18,2)")]
public decimal Global { get; set; }
[Column(TypeName = "decimal(18,2)")]
public decimal Training { get; set; }
[Column(TypeName = "decimal(18,2)")]
public decimal Downtime { get; set; }
[Column(TypeName = "decimal(18,2)")]
public decimal RefresherTraining { get; set; }
}
}

View File

@ -1,41 +1,31 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("医生计费 - 项目收入价格验证")]
[Table("TrialRevenuesPriceVerification")]
namespace IRaCIS.Core.Domain.Models
{
public class TrialRevenuesPriceVerification : Entity
{
public Guid TrialId { get; set; }
public bool Adjudication { get; set; }
public bool AdjudicationIn24H { get; set; }
public bool AdjudicationIn48H { get; set; }
public bool Downtime { get; set; }
public bool Global { get; set; }
public bool RefresherTraining { get; set; }
public Guid ReviewerId { get; set; }
[Comment(" false代表没有价格")]
public bool Timepoint { get; set; }
public string YearMonth { get; set; } = string.Empty;
public bool TimepointIn24H { get; set; }
public bool Training { get; set; } = false;
public bool TimepointIn48H { get; set; }
public bool Downtime { get; set; } = false;
public bool Training { get; set; }
public bool Global { get; set; } = false;
public DateTime? WorkLoadDate { get; set; }
public bool Timepoint { get; set; } = false;
[StringLength(400)]
public string YearMonth { get; set; } = null!;
public bool TimepointIn24H { get; set; } = false;
public bool TimepointIn48H { get; set; } = false;
public bool Adjudication { get; set; } = false;
public bool AdjudicationIn24H { get; set; } = false;
public bool AdjudicationIn48H { get; set; } = false;
public bool RefresherTraining { get; set; } = false;
public DateTime WorkLoadDate { get; set; }
}
}

View File

@ -1,17 +1,12 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("医生计费 - 奖励")]
namespace IRaCIS.Core.Domain.Models
{
[Table("VolumeReward")]
public partial class VolumeReward : BaseFullAuditEntity
{
[DecimalPrecision(18, 2)]
[Column(TypeName = "decimal(18,2)")]
public decimal Price { get; set; }
public int Min { get; set; }
public int Max { get; set; }
}
}

View File

@ -0,0 +1,7 @@
global using Microsoft.EntityFrameworkCore;
global using System;
global using System.Collections.Generic;
global using System.ComponentModel.DataAnnotations;
global using System.ComponentModel.DataAnnotations.Schema;

View File

@ -1,9 +1,4 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
namespace IRaCIS.Core.Domain.Models;
[Comment("归档 - Instance表")]
[Table("DicomInstance")]

View File

@ -1,10 +1,4 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
namespace IRaCIS.Core.Domain.Models;
[Comment("归档 - 序列表")]
public partial class DicomSeries : BaseFullDeleteAuditEntity, IEntitySeqId

View File

@ -1,10 +1,4 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
namespace IRaCIS.Core.Domain.Models;
[Table("DicomStudy")]
public class DicomStudy : BaseFullDeleteAuditEntity, IEntitySeqId

View File

@ -1,12 +1,7 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-01-25 13:26:03
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("项目 - 影像上传监控")]

View File

@ -1,24 +1,17 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("影像 - 影像分享记录表")]
[Table("ImageShare")]
namespace IRaCIS.Core.Domain.Models
{
public class ImageShare : Entity
{
#region 导航属性
#endregion
public DateTime ExpireTime { get; set; }
public string Password { get; set; } = null!;
public Guid TrialId { get; set; }
public Guid SubjectId { get; set; }
public Guid StudyId { get; set; }
public Guid SubjectId { get; set; }
public DateTime ExpireTime { get; set; }
public Guid TrialId { get; set; }
public string Password { get; set; } = string.Empty;
}
}

View File

@ -1,16 +1,12 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2021-12-06 10:49:39
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("影像 - 非dicom检查")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///NoneDicomStudy
///</summary>
[Table("NoneDicomStudy")]
public class NoneDicomStudy : BaseFullAuditEntity
{
@ -29,34 +25,42 @@ public class NoneDicomStudy : BaseFullAuditEntity
#endregion
public string BodyPart { get; set; } = null!;
public int Code { get; set; }
public string Description { get; set; } = null!;
public string StudyCode { get; set; } = string.Empty;
public int FileCount { get; set; }
public DateTime ImageDate { get; set; }
public string Modality { get; set; } = null!;
public string StudyCode { get; set; } = null!;
public Guid SubjectId { get; set; }
public Guid SubjectVisitId { get; set; }
public int Code { get; set; }
public Guid TrialId { get; set; }
public Guid SubjectId { get; set; }
public Guid SubjectVisitId { get; set; }
public string BodyPart { get; set; } = string.Empty;
public string Modality { get; set; } = string.Empty;
public DateTime ImageDate { get; set; }
public string Description { get; set; } = string.Empty;
public string VideoName { get; set; } = string.Empty;
public string VideoObjectName { get; set; } = string.Empty;
public DateTime? UploadVideoTime { get; set; }
public string VideoName { get; set; } = null!;
public string VideoObjectName { get; set; } = null!;
public string VideoUrl { get; set; } = null!;
public string VideoUrl { get; set; } = string.Empty;
}
}

View File

@ -1,16 +1,10 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2021-12-06 10:49:39
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
namespace IRaCIS.Core.Domain.Models
{
[Comment("影像 - 非dicom检查关联文件表")]
[Table("NoneDicomStudyFile")]
public class NoneDicomStudyFile : BaseAddAuditEntity
{
@ -29,22 +23,31 @@ public class NoneDicomStudyFile : BaseAddAuditEntity
#endregion
public string FileName { get; set; } = null!;
public Guid NoneDicomStudyId { get; set; }
public string Path { get; set; } = string.Empty;
public string FileName { get; set; } = string.Empty;
public string FileType { get; set; } = string.Empty;
public long? FileSize { get; set; }
public string FileType { get; set; } = null!;
public Guid NoneDicomStudyId { get; set; }
#region 跟任务绑定 同时区分检查
[Comment("为了不影响原始检查,跟任务绑定的 NoneDicomStudyId 为guid空 这个字段记录跟原始检查绑")]
public Guid? OriginNoneDicomStudyId { get; set; }
[StringLength(512)]
public string Path { get; set; } = null!;
[Comment("任务Id,配合OriginNoneDicomStudyId 一起使用")]
public Guid? VisitTaskId { get; set; }
/// <summary>
/// 为了不影响原始检查,跟任务绑定的 NoneDicomStudyId 为guid空 这个字段记录跟原始检查绑
/// </summary>
public Guid? OriginNoneDicomStudyId { get; set; }
#endregion
}
}

View File

@ -1,17 +1,12 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2024-05-24 14:31:45
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
namespace IRaCIS.Core.Domain.Models;
[Comment("项目中心 - 影像推送记录")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///SCPImageUpload
///</summary>
[Table("SCPImageUpload")]
public class SCPImageUpload : BaseAddAuditEntity
{
@ -24,26 +19,42 @@ public class SCPImageUpload : BaseAddAuditEntity
#endregion
public string CalledAE { get; set; } = null!;
public string CallingAE { get; set; } = string.Empty;
public string CallingAE { get; set; } = null!;
public string CallingAEIP { get; set; } = null!;
public string CalledAE { get; set; } = string.Empty;
public DateTime EndTime { get; set; }
public int FileCount { get; set; }
public long FileSize { get; set; }
public string CallingAEIP { get; set; } = string.Empty;
public DateTime StartTime { get; set; }
public DateTime EndTime { get; set; }
public int FileCount { get; set; }
public long FileSize { get; set; }
public int StudyCount { get; set; }
public Guid TrialId { get; set; }
public Guid TrialId { get; set; }
public Guid TrialSiteId { get; set; }
}
}

View File

@ -1,10 +1,5 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
namespace IRaCIS.Core.Domain.Models
{
[Table("SCPInstance")]
public class SCPInstance : BaseFullAuditEntity, IEntitySeqId
{
@ -18,59 +13,37 @@ public class SCPInstance : BaseFullAuditEntity, IEntitySeqId
public SCPStudy SCPStudy { get; set; }
#endregion
public bool Anonymize { get; set; }
public bool CPIStatus { get; set; }
public long? FileSize { get; set; }
[StringLength(500)]
public string FrameOfReferenceUID { get; set; } = null!;
public int ImageColumns { get; set; }
public int ImageRows { get; set; }
[StringLength(400)]
public string ImagerPixelSpacing { get; set; } = null!;
public int InstanceNumber { get; set; }
public DateTime? InstanceTime { get; set; }
public int NumberOfFrames { get; set; }
[MaxLength]
[Unicode(false)]
public string Path { get; set; } = null!;
[StringLength(400)]
public string PixelSpacing { get; set; } = null!;
public Guid SeqId { get; set; }
public Guid StudyId { get; set; }
public Guid SeriesId { get; set; }
public string SeriesInstanceUid { get; set; } = null!;
public string StudyInstanceUid { get; set; } = string.Empty;
public string SeriesInstanceUid { get; set; } = string.Empty;
public string SopInstanceUid { get; set; } = string.Empty;
public int InstanceNumber { get; set; }
public DateTime? InstanceTime { get; set; }
public bool CPIStatus { get; set; }
public int ImageRows { get; set; }
public int ImageColumns { get; set; }
public int SliceLocation { get; set; }
[StringLength(400)]
public string SliceThickness { get; set; } = null!;
public string SopInstanceUid { get; set; } = null!;
public string SliceThickness { get; set; } = string.Empty;
public int NumberOfFrames { get; set; }
public string PixelSpacing { get; set; } = string.Empty;
public Guid StudyId { get; set; }
public string ImagerPixelSpacing { get; set; } = string.Empty;
public string FrameOfReferenceUID { get; set; } = string.Empty;
public string WindowCenter { get; set; } = string.Empty;
public string WindowWidth { get; set; } = string.Empty;
public string StudyInstanceUid { get; set; } = null!;
public bool Anonymize { get; set; }
public string Path { get; set; } = string.Empty;
[StringLength(400)]
public string WindowCenter { get; set; } = null!;
[StringLength(400)]
public string WindowWidth { get; set; } = null!;
public long? FileSize { get; set; }
}
}

View File

@ -1,12 +1,5 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("项目中心 - 推送检查患者")]
namespace IRaCIS.Core.Domain.Models
{
[Table("SCPPatient")]
public class SCPPatient : BaseFullAuditEntity
{
@ -21,28 +14,26 @@ public class SCPPatient : BaseFullAuditEntity
public TrialSite TrialSite { get; set; }
#endregion
public DateTime? EarliestStudyTime { get; set; }
public DateTime LatestPushTime { get; set; }
public string PatientIdStr { get; set; } = string.Empty;
public string PatientName { get; set; } = string.Empty;
public string PatientAge { get; set; } = string.Empty;
public string PatientSex { get; set; } = string.Empty;
public string PatientBirthDate { get; set; } = string.Empty;
public DateTime? EarliestStudyTime { get; set; }
public DateTime? LatestStudyTime { get; set; }
public string PatientAge { get; set; } = null!;
public DateTime LatestPushTime { get; set; }
public string PatientBirthDate { get; set; } = null!;
public string PatientIdStr { get; set; } = null!;
public string PatientName { get; set; } = null!;
public string PatientSex { get; set; } = null!;
public Guid? SubjectId { get; set; }
public Guid TrialId { get; set; }
public Guid TrialSiteId { get; set; }
}
}

View File

@ -1,12 +1,5 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("项目中心 - 推送序列")]
namespace IRaCIS.Core.Domain.Models
{
[Table("SCPSeries")]
public class SCPSeries : BaseFullDeleteAuditEntity, IEntitySeqId
{
@ -20,51 +13,33 @@ public class SCPSeries : BaseFullDeleteAuditEntity, IEntitySeqId
#endregion
public string AcquisitionNumber { get; set; } = null!;
public string AcquisitionTime { get; set; } = null!;
public string BodyPartExamined { get; set; } = null!;
public string BodyPartForEdit { get; set; } = null!;
[StringLength(500)]
public string Description { get; set; } = null!;
public string ImageOrientationPatient { get; set; } = null!;
public string ImagePositionPatient { get; set; } = null!;
[StringLength(520)]
public string ImageResizePath { get; set; } = null!;
public string ImagerPixelSpacing { get; set; } = null!;
public int InstanceCount { get; set; }
public bool? IsReading { get; set; }
public string Modality { get; set; } = null!;
[StringLength(500)]
public string ProtocolName { get; set; } = null!;
public Guid SeqId { get; set; }
public string SequenceName { get; set; } = null!;
public string SeriesInstanceUid { get; set; } = null!;
public int SeriesNumber { get; set; }
public DateTime? SeriesTime { get; set; }
public string SliceThickness { get; set; } = null!;
public Guid StudyId { get; set; }
public string StudyInstanceUid { get; set; } = string.Empty;
public string SeriesInstanceUid { get; set; } = string.Empty;
public int SeriesNumber { get; set; }
public DateTime? SeriesTime { get; set; }
public string Modality { get; set; } = string.Empty;
public string Description { get; set; } = string.Empty;
public int InstanceCount { get; set; }
public string SliceThickness { get; set; } = string.Empty;
public string StudyInstanceUid { get; set; } = null!;
public string ImagePositionPatient { get; set; } = string.Empty;
public string ImageOrientationPatient { get; set; } = string.Empty;
public string BodyPartExamined { get; set; } = string.Empty;
public string SequenceName { get; set; } = string.Empty;
public string ProtocolName { get; set; } = string.Empty;
public string ImagerPixelSpacing { get; set; } = string.Empty;
public string TriggerTime { get; set; } = null!;
public string AcquisitionTime { get; set; } = string.Empty;
public string AcquisitionNumber { get; set; } = string.Empty;
public string TriggerTime { get; set; } = string.Empty;
public string BodyPartForEdit { get; set; } = string.Empty;
public bool IsReading { get; set; } = true;
public string ImageResizePath { get; set; } = string.Empty;
}
}

View File

@ -1,12 +1,5 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("项目中心 - 推送检查")]
namespace IRaCIS.Core.Domain.Models
{
[Table("SCPStudy")]
public class SCPStudy : BaseFullDeleteAuditEntity, IEntitySeqId
{
@ -26,78 +19,64 @@ public class SCPStudy : BaseFullDeleteAuditEntity, IEntitySeqId
[JsonIgnore]
public TrialSite TrialSite { get; set; }
#endregion
//0 未知 1 单重 2 双重
public bool IsDoubleReview { get; set; }
public Guid SeqId { get; set; }
[ForeignKey("PatientId")]
[JsonIgnore]
public SCPPatient Patient { get; set; }
public Guid PatientId { get; set; }
#endregion
public string StudyInstanceUid { get; set; } = string.Empty;
public DateTime? StudyTime { get; set; }
public string Modalities { get; set; } = string.Empty;
public string AccessionNumber { get; set; } = null!;
public string Description { get; set; } = string.Empty;
public int SeriesCount { get; set; } = 0;
public int InstanceCount { get; set; } = 0;
public string AcquisitionNumber { get; set; } = null!;
public string AcquisitionTime { get; set; } = null!;
public string InstitutionName { get; set; } = string.Empty;
public string PatientIdStr { get; set; } = string.Empty;
public string PatientName { get; set; } = string.Empty;
public string PatientAge { get; set; } = string.Empty;
public string PatientSex { get; set; } = string.Empty;
[StringLength(512)]
public string BodyPartExamined { get; set; } = null!;
public string StudyId { get; set; } = string.Empty;
public string AccessionNumber { get; set; } = string.Empty;
public string PatientBirthDate { get; set; } = string.Empty;
public string AcquisitionTime { get; set; } = string.Empty;
public string AcquisitionNumber { get; set; } = string.Empty;
public string TriggerTime { get; set; } = string.Empty;
public string BodyPartForEdit { get; set; } = null!;
public string BodyPartExamined { get; set; } = string.Empty;
public string CalledAE { get; set; } = null!;
public string BodyPartForEdit { get; set; } = string.Empty;
public string CallingAE { get; set; } = null!;
public string ModalityForEdit { get; set; } = string.Empty;
[StringLength(1000)]
public string Description { get; set; } = null!;
public int InstanceCount { get; set; }
public string InstitutionName { get; set; } = null!;
public string CallingAE { get; set; } = string.Empty;
public bool IsDoubleReview { get; set; }
public string CalledAE { get; set; } = string.Empty;
public bool IsUploadFinished { get; set; }
public string Modalities { get; set; } = null!;
public string ModalityForEdit { get; set; } = null!;
public string PatientAge { get; set; } = null!;
public string PatientBirthDate { get; set; } = null!;
public Guid PatientId { get; set; }
public string PatientIdStr { get; set; } = null!;
public string PatientName { get; set; } = null!;
public string PatientSex { get; set; } = null!;
[Comment(" 序列Id 避免内存移动")]
public Guid SeqId { get; set; }
public int SeriesCount { get; set; }
[Comment(" DicomTag.StudyID")]
public string StudyId { get; set; } = null!;
[StringLength(500)]
public string StudyInstanceUid { get; set; } = null!;
public DateTime? StudyTime { get; set; }
public Guid TrialId { get; set; }
public Guid TrialSiteId { get; set; }
public Guid? SubjectVisitId { get; set; }
public Guid TrialId { get; set; }
public Guid TrialSiteId { get; set; }
public string TriggerTime { get; set; } = null!;
[Comment(" 上传时间")]
public DateTime? UploadedTime { get; set; }
public string Uploader { get; set; } = null!;
}
}

View File

@ -1,40 +1,43 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-03-03 15:26:35
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("系统 - 匿名化配置(需要同步)")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///SystemAnonymization
///</summary>
[Table("SystemAnonymization")]
public class SystemAnonymization : BaseFullAuditEntity
{
#region 导航属性
#endregion
public string Element { get; set; } = null!;
public string Group { get; set; } = String.Empty;
public string Element { get; set; } = String.Empty;
public string TagDescription { get; set; } = String.Empty;
public string TagDescriptionCN { get; set; } = string.Empty;
public string ReplaceValue { get; set; } = String.Empty;
public string ValueRepresentation { get; set; } = String.Empty;
public string Group { get; set; } = null!;
public bool IsAdd { get; set; }
public bool IsEnable { get; set; }
public bool IsFixed { get; set; }
public string ReplaceValue { get; set; } = null!;
public string TagDescription { get; set; } = null!;
public string TagDescriptionCN { get; set; } = null!;
public string ValueRepresentation { get; set; } = null!;
}
}

View File

@ -1,9 +1,5 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
namespace IRaCIS.Core.Domain.Models
{
public class TaskInstance : BaseFullAuditEntity, IEntitySeqId
{
#region 导航属性
@ -54,3 +50,4 @@ public class TaskInstance : BaseFullAuditEntity, IEntitySeqId
public long? FileSize { get; set; }
}
}

View File

@ -1,10 +1,5 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
namespace IRaCIS.Core.Domain.Models
{
public class TaskSeries : BaseFullDeleteAuditEntity, IEntitySeqId
{
#region 导航属性
@ -52,3 +47,4 @@ public class TaskSeries : BaseFullDeleteAuditEntity, IEntitySeqId
public string ImageResizePath { get; set; } = string.Empty;
}
}

View File

@ -1,10 +1,5 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
namespace IRaCIS.Core.Domain.Models
{
public class TaskStudy : BaseFullDeleteAuditEntity, IEntitySeqId
{
#region 导航属性
@ -80,4 +75,5 @@ public class TaskStudy : BaseFullDeleteAuditEntity, IEntitySeqId
}
}

View File

@ -1,16 +1,12 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2024-03-22 15:44:11
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace IRaCIS.Core.Domain.Models;
[Comment("项目 - 项目DicomAE")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///DicomAE
///</summary>
[Table("TrialDicomAE")]
public class TrialDicomAE : BaseFullAuditEntity
{
@ -39,3 +35,5 @@ public class TrialDicomAE : BaseFullAuditEntity
public bool? IsTestOK { get; set; }
}
}

View File

@ -1,16 +1,5 @@
using IRaCIS.Core.Domain.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IRaCIS.Core.Domain.Models;
[Comment("项目 - 影像下载监控")]
namespace IRaCIS.Core.Domain.Models
{
[Table("TrialImageDownload")]
public class TrialImageDownload : BaseFullAuditEntity
{
@ -29,7 +18,6 @@ public class TrialImageDownload : BaseFullAuditEntity
public DateTime DownloadStartTime { get; set; }
public DateTime? DownloadEndTime { get; set; }
[StringLength(400)]
public string VisitName { get; set; }
public ImageType ImageType { get; set; }
@ -53,3 +41,4 @@ public enum ImageType
DicomAndNoneDicom = 3
};
}

View File

@ -1,8 +1,3 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("机构 - CRO")]

View File

@ -1,11 +1,5 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("机构 - 医院")]
namespace IRaCIS.Core.Domain.Models
{
[Table("Hospital")]
public class Hospital : BaseFullAuditEntity
{
@ -19,29 +13,26 @@ public class Hospital : BaseFullAuditEntity
#endregion
public string City { get; set; } = null!;
public string HospitalName { get; set; } = string.Empty;
public string UniversityAffiliated { get; set; } = string.Empty;
public string Country { get; set; } = string.Empty;
public string Province { get; set; } = string.Empty;
public string City { get; set; } = string.Empty;
public string CityCN { get; set; } = null!;
public string HospitalNameCN { get; set; } = string.Empty;
public string UniversityAffiliatedCN { get; set; } = string.Empty;
public string CountryCN { get; set; } = string.Empty;
public string ProvinceCN { get; set; } = string.Empty;
public string CityCN { get; set; } = string.Empty;
public string Country { get; set; } = null!;
public string CountryCN { get; set; } = null!;
public string HospitalName { get; set; } = null!;
public string HospitalNameCN { get; set; } = null!;
public string Province { get; set; } = null!;
public string ProvinceCN { get; set; } = null!;
public Guid? SiteId { get; set; }
public string UniversityAffiliated { get; set; } = null!;
public string UniversityAffiliatedCN { get; set; } = null!;
/// <summary>
/// 中心Id
/// </summary>
public Guid? SiteId { get; set; } = Guid.Empty;
}
}

View File

@ -1,12 +1,5 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("»ú¹¹ - Site")]
namespace IRaCIS.Core.Domain.Models
{
[Table("Site")]
public partial class Site : BaseFullAuditEntity
{
@ -18,45 +11,32 @@ public partial class Site : BaseFullAuditEntity
public List<TrialSite> TrialSiteList { get; set; }
#endregion
[StringLength(500)]
public string Address { get; set; } = null!;
public string AliasName { get; set; } = null!;
public string City { get; set; } = null!;
public string SiteName { get; set; } = string.Empty;
public string SiteNameCN { get; set; } = string.Empty;
public string AliasName { get; set; } = string.Empty;
public string SiteCode { get; set; } = string.Empty;
public int Code { get; set; }
public string ContactName { get; set; } = null!;
public string ContactPhone { get; set; } = null!;
public string Country { get; set; } = null!;
public string DirectorName { get; set; } = null!;
public string DirectorPhone { get; set; } = null!;
public string City { get; set; } = string.Empty;
public string Country { get; set; } = string.Empty;
public Guid? HospitalId { get; set; }
public string Province { get; set; } = null!;
[StringLength(500)]
public string SiteCode { get; set; } = null!;
[StringLength(500)]
public string SiteName { get; set; } = null!;
[StringLength(400)]
public string SiteNameCN { get; set; } = null!;
[Comment(" ÔÝʱδÓÃ")]
public int State { get; set; }
public string UniqueCode { get; set; } = null!;
public string Province { get; set; } = string.Empty;
public string UniqueCode { get; set; } = string.Empty;
public string Address { get; set; } = string.Empty;
public string DirectorName { get; set; } = string.Empty;
public string DirectorPhone { get; set; } = string.Empty;
public string ContactName { get; set; } = string.Empty;
public string ContactPhone { get; set; } = string.Empty;
}
}

View File

@ -1,27 +1,19 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("»ú¹¹ - Sponsor")]
namespace IRaCIS.Core.Domain.Models
{
[Table("Sponsor")]
public partial class Sponsor : BaseFullAuditEntity
{
#region 导航属性
#endregion
public string SponsorName { get; set; } = String.Empty;
public string SponsorNameCN { get; set; } = String.Empty;
public string SponsorCode { get; set; } = String.Empty;
public bool IsTrialLevel { get; set; }
public string SponsorCode { get; set; } = null!;
[StringLength(1000)]
public string SponsorName { get; set; } = null!;
[StringLength(1000)]
public string SponsorNameCN { get; set; } = null!;
public Guid? TrialId { get; set; }
}
}

View File

@ -1,12 +1,5 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 系统菜单 (需要同步)")]
namespace IRaCIS.Core.Domain.Models
{
[Table("Menu")]
public class Menu : BaseFullAuditEntity
{
@ -15,46 +8,52 @@ public class Menu : BaseFullAuditEntity
public List<UserTypeMenu> UserTypeMenuList { get; set; }
#endregion
public string ApiPath { get; set; } = null!;
[StringLength(400)]
public string Component { get; set; } = null!;
public bool IsCache { get; set; }
public bool IsDisplay { get; set; }
public bool IsEnable { get; set; }
public bool IsExternalLink { get; set; }
public bool? IsInTabDisplay { get; set; }
public string LanguageMark { get; set; } = null!;
public string MenuIcon { get; set; } = null!;
public string MenuName { get; set; } = null!;
[Comment("类型M目录 C菜单 F按钮 L链接")]
public string MenuType { get; set; } = null!;
public string Meta { get; set; } = null!;
[MaxLength]
public string Note { get; set; }
//上级菜单
public Guid? ParentId { get; set; } = Guid.Empty;
public Guid ParentId { get; set; }
// 类型M目录 C菜单 F按钮 L链接
public string MenuType { get; set; } = string.Empty;
[Comment("路由地址")]
[StringLength(500)]
public string Path { get; set; } = null!;
public string MenuIcon { get; set; } = string.Empty;
public string PermissionStr { get; set; } = null!;
public string MenuName { get; set; } = string.Empty;
public string Redirect { get; set; } = null!;
//路由地址
public string Path { get; set; } = string.Empty;
//组件路径
public string Component { get; set; } = string.Empty;
public int ShowOrder { get; set; }
//启用 禁用
public bool IsEnable { get; set; } = true;
public bool IsCache { get; set; } = false;
public bool IsDisplay { get; set; }
public bool IsInTabDisplay { get; set; }
public bool IsExternalLink { get; set; }
//权限点
public string PermissionStr { get; set; } = string.Empty;
//Api 接口地址
public string ApiPath { get; set; } = string.Empty;
public string Note { get; set; } = string.Empty;
public string Meta { get; set; } = string.Empty;
public string Redirect { get; set; } = string.Empty;
public string LanguageMark { get; set; } = string.Empty;
}
}

View File

@ -3,17 +3,13 @@
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-04-25 09:46:09
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using System.Collections.Generic;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using IRaCIS.Core.Domain.Share.Management;
using Microsoft.EntityFrameworkCore;
namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 系统通知")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///SystemNotice
///</summary>
[Table("SystemNotice")]
public class SystemNotice : BaseFullAuditEntity
{
@ -26,7 +22,7 @@ public class SystemNotice : BaseFullAuditEntity
#endregion
[MaxLength]
public string NoticeContent { get; set; } = string.Empty;
public SystemNotice_NoticeTypeEnum NoticeTypeEnum { get; set; }
@ -54,3 +50,5 @@ public class SystemNotice : BaseFullAuditEntity
public DateTime? PublishedTime { get; set; }
}
}

View File

@ -1,16 +1,12 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-04-25 09:46:09
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 系统通知用户读取记录")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///SystemNoticeUserRead
///</summary>
[Table("SystemNoticeUserRead")]
public class SystemNoticeUserRead : BaseAddAuditEntity
{
@ -23,3 +19,5 @@ public class SystemNoticeUserRead : BaseAddAuditEntity
}
}

View File

@ -1,16 +1,12 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-04-25 09:46:09
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 系统通知用户类型配置")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///SystemNoticeUserType
///</summary>
[Table("SystemNoticeUserType")]
public class SystemNoticeUserType : BaseAddAuditEntity
{
@ -29,4 +25,6 @@ public class SystemNoticeUserType : BaseAddAuditEntity
}
}

View File

@ -1,9 +1,5 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
namespace IRaCIS.Core.Domain.Models
{
[Table("Role")]
public partial class Role : BaseFullAuditEntity
{
@ -18,3 +14,4 @@ public partial class Role : BaseFullAuditEntity
public int PrivilegeLevel { get; set; } //权限级别
}
}

View File

@ -1,12 +1,8 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using EntityFrameworkCore.Projectables;
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models;
namespace IRaCIS.Core.Domain.Models
{
[Table("User")]
public partial class User : BaseFullAuditEntity
{
@ -96,3 +92,4 @@ public partial class User : BaseFullAuditEntity
//[Projectable] public string FullName => $"{LastName} / {FirstName}";
}
}

View File

@ -1,17 +1,12 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2024-07-30 10:39:01
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 用户反馈")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///UserFeedBack
///</summary>
[Table("UserFeedBack")]
public class UserFeedBack : BaseFullAuditEntity
{
@ -44,9 +39,12 @@ public class UserFeedBack : BaseFullAuditEntity
public int QuestionType { get; set; }
[MaxLength]
public string QuestionDescription { get; set; } = string.Empty;
public int State { get; set; }
@ -54,7 +52,7 @@ public class UserFeedBack : BaseFullAuditEntity
public Guid? TrialId { get; set; }
[MaxLength]
public string ScreenshotListStr { get; set; } = string.Empty;
@ -64,4 +62,4 @@ public class UserFeedBack : BaseFullAuditEntity
}
}

View File

@ -1,16 +1,12 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2023-07-04 16:10:43
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 用户账户操作日志")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///UserLog
///</summary>
[Table("UserLog")]
public class UserLog : BaseAddAuditEntity
{
@ -21,11 +17,9 @@ public class UserLog : BaseAddAuditEntity
[JsonIgnore]
public User OptUser { get; set; }
#endregion
[StringLength(400)]
public string IP { get; set; } = string.Empty;
[StringLength(400)]
public string LoginFaildName { get; set; } = string.Empty;
@ -93,3 +87,5 @@ public enum UserOptType
MFALoginFail = 13,
}
}

View File

@ -1,16 +1,12 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2024-05-07 13:47:08
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 用户修改密码")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///UserPassWordLog
///</summary>
[Table("UserPassWordLog")]
public class UserPassWordLog : BaseAddAuditEntity
{
@ -18,9 +14,14 @@ public class UserPassWordLog : BaseAddAuditEntity
#endregion
/// <summary>
/// 用户Id
/// </summary>
public Guid UserId { get; set; }
/// <summary>
/// 密码
/// </summary>
public string PassWord { get; set; } = string.Empty;
@ -28,4 +29,4 @@ public class UserPassWordLog : BaseAddAuditEntity
}
}

View File

@ -1,14 +1,7 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using IRaCIS.Core.Domain.Share;
using Microsoft.EntityFrameworkCore;
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 用户类型 (需要同步)")]
[Table("UserType")]
namespace IRaCIS.Core.Domain.Models
{
public class UserType : Entity
{
@ -25,30 +18,24 @@ public class UserType : Entity
[JsonIgnore]
public List<User> UserList { get; set; }
#endregion
public string Description { get; set; } = null!;
public bool IsEnable { get; set; }
[Comment(" 是否是内部用户类型")]
public bool IsInternal { get; set; }
[Comment(" 用于前端界面下拉框展示排序")]
public int Order { get; set; }
public string PermissionStr { get; set; } = null!;
[Comment(" 此数据固定,不能更改,和代码耦合")]
public UserTypeEnum UserTypeEnum { get; set; }
[Comment(" 名称、描述可以更改")]
public string UserTypeName { get; set; } = null!;
public string UserTypeName { get; set; } = string.Empty;
[Comment(" 用户类型名称简写")]
public string UserTypeShortName { get; set; } = null!;
public string Description { get; set; } = string.Empty;
public int Order { get; set; }
public string UserTypeShortName { get; set; } = string.Empty;
public bool IsEnable { get; set; } = true;
public string PermissionStr { get; set; } = string.Empty;
}
}

View File

@ -1,16 +1,12 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-03-16 09:50:51
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 用户类型组(需要同步)")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///UserTypeGroup
///</summary>
[Table("UserTypeGroup")]
public class UserTypeGroup : Entity
{
@ -30,6 +26,8 @@ public class UserTypeGroup : Entity
public Guid DictionaryId { get; set; }
}
}

View File

@ -1,9 +1,5 @@
using System;
using System.ComponentModel.DataAnnotations.Schema;
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models;
namespace IRaCIS.Core.Domain.Models
{
[Table("UserTypeMenu")]
public partial class UserTypeMenu : Entity
{
@ -19,4 +15,8 @@ public partial class UserTypeMenu : Entity
public Guid UserTypeId { get; set; }
public Guid MenuId { get; set; }
}
}

View File

@ -1,11 +1,4 @@
using IRaCIS.Core.Domain.Models;
using IRaCIS.Core.Domain.Share;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models;

View File

@ -1,15 +1,12 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2021-11-22 11:15:18
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("受试者访视 - 既往放疗史")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///PreviousHistory
///</summary>
[Table("PreviousHistory")]
public class PreviousHistory : BaseAddAuditEntity
{
@ -19,26 +16,33 @@ public class PreviousHistory : BaseAddAuditEntity
#endregion
[Comment(" 临床数据类型Id")]
public Guid ClinicalDataTrialSetId { get; set; }
public DateTime? StartTime { get; set; }
public DateTime? EndTime { get; set; }
public string FileName { get; set; } = null!;
public int IsPD { get; set; }
public int? IsPD { get; set; }
public bool IsSubjectLevel { get; set; }
public string Path { get; set; } = null!;
public string Position { get; set; } = null!;
public DateTime? StartTime { get; set; }
public Guid SubjectVisitId { get; set; }
public bool IsSubjectLevel { get; set; }
public string Path { get; set; } = String.Empty;
public string FileName { get; set; } = String.Empty;
public string Position { get; set; } = String.Empty;
public Guid ClinicalDataTrialSetId { get; set; }
}
}

View File

@ -1,15 +1,12 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2021-11-22 11:15:18
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("受试者访视 - 既往其他治疗史")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///PreviousOther
///</summary>
[Table("PreviousOther")]
public class PreviousOther : BaseAddAuditEntity
{
@ -19,25 +16,34 @@ public class PreviousOther : BaseAddAuditEntity
public SubjectVisit SubjectVisit { get; set; }
#endregion
[Comment(" 临床数据类型Id")]
public Guid ClinicalDataTrialSetId { get; set; }
public DateTime? StartTime { get; set; }
public DateTime? EndTime { get; set; }
public string FileName { get; set; } = null!;
public bool? IsPD { get; set; }
public bool IsSubjectLevel { get; set; }
public string Path { get; set; } = null!;
public DateTime? StartTime { get; set; }
public bool IsPD { get; set; }
public Guid SubjectVisitId { get; set; }
public string TreatmentType { get; set; } = null!;
public bool IsSubjectLevel { get; set; }
public string Path { get; set; } = String.Empty;
public string FileName { get; set; } = String.Empty;
public string TreatmentType { get; set; } = String.Empty;
/// <summary>
/// 临床数据类型Id
/// </summary>
[Required]
public Guid ClinicalDataTrialSetId { get; set; }
}
}

View File

@ -4,13 +4,11 @@
// 生成时间 2021-12-09 11:35:31
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using IRaCIS.Core.Domain.Share;
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("受试者访视 - 临床数据配置")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///PreviousPDF
///</summary>
[Table("PreviousPDF")]
public class PreviousPDF : BaseAddAuditEntity
{
@ -21,30 +19,37 @@ public class PreviousPDF : BaseAddAuditEntity
#endregion
[Comment("临床级别")]
public ClinicalLevel? ClinicalLevel { get; set; }
public Guid SubjectVisitId { get; set; }
public ClinicalDataType? DataType { get; set; }
public string Path { get; set; } = string.Empty;
public string FileName { get; set; } = string.Empty;
public string FileName { get; set; } = null!;
public bool? IsVisist { get; set; }
[StringLength(512)]
public string Path { get; set; } = null!;
/// <summary>
/// 临床级别
/// </summary>
public ClinicalLevel? ClinicalLevel { get; set; }
public Guid? SubjectId { get; set; }
/// <summary>
/// 数据类型
/// </summary>
public ClinicalDataType? DataType { get; set; }
public Guid SubjectVisitId { get; set; }
/// <summary>
/// 上传方式
/// </summary>
public ClinicalUploadType? UploadType { get; set; }
public Guid? TrialId { get; set; }
[Comment("上传方式")]
public ClinicalUploadType? UploadType { get; set; }
public Guid? SubjectId { get; set; }
}
}

View File

@ -1,15 +1,12 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2021-11-22 11:15:18
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("受试者访视 - 既往手术史")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///PreviousSurgery
///</summary>
[Table("PreviousSurgery")]
public class PreviousSurgery : BaseAddAuditEntity
{
@ -18,24 +15,29 @@ public class PreviousSurgery : BaseAddAuditEntity
#endregion
[Comment(" 临床数据类型Id")]
public Guid ClinicalDataTrialSetId { get; set; }
public string FileName { get; set; } = null!;
public bool IsSubjectLevel { get; set; }
public string OperationName { get; set; } = null!;
public DateTime? OperationTime { get; set; }
public string Path { get; set; } = null!;
public Guid SubjectVisitId { get; set; }
public bool IsSubjectLevel { get; set; }
public string Path { get; set; } = String.Empty;
public string FileName { get; set; } = String.Empty;
public string OperationName { get; set; } = String.Empty;
/// <summary>
/// 临床数据类型Id
/// </summary>
[Required]
public Guid ClinicalDataTrialSetId { get; set; }
}
}

View File

@ -1,11 +1,8 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("稽查 - 后端接收前端上传 文件记录表")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
/// 一致性核查文件
///</summary>
[Table("InspectionFile")]
public class InspectionFile : BaseAddAuditEntity
{
@ -13,19 +10,16 @@ public class InspectionFile : BaseAddAuditEntity
#endregion
[Comment(" 文件名称")]
[StringLength(400)]
public string FileName { get; set; } = null!;
public string FileName { get; set; } = string.Empty;
[Comment(" 相对路径")]
[StringLength(400)]
public string RelativePath { get; set; } = null!;
[Comment(" 项目ID")]
public string RelativePath { get; set; } = string.Empty;
public Guid TrialId { get; set; }
}
}

View File

@ -1,14 +1,7 @@
using IRaCIS.Core.Domain.Share;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("受试者访视 - QC质疑")]
[Table("QCChallenge")]
namespace IRaCIS.Core.Domain.Models
{
public class QCChallenge : BaseAddAuditEntity
{
#region 导航属性
@ -25,57 +18,65 @@ public class QCChallenge : BaseAddAuditEntity
#endregion
[Comment(" 行动事项")]
[StringLength(1024)]
public string ActionContent { get; set; } = null!;
public string ChallengeCode { get; set; } = null!;
[StringLength(1024)]
public string ChallengeType { get; set; } = null!;
public DateTime? ClosedTime { get; set; }
public string ClosedUser { get; set; } = null!;
public QCChallengeCloseEnum CloseResonEnum { get; set; }
public int Code { get; set; }
[Comment(" 质疑内容")]
[StringLength(1024)]
public string Content { get; set; } = null!;
[Comment(" 用于双审的时候 区分 第一个人和第二个人的数据")]
public CurrentQC CurrentQCEnum { get; set; }
public Guid TrialId { get; set; }
public Guid SubjectVisitId { get; set; }
public DateTime? DeadlineTime { get; set; }
public bool IsClosed { get; set; }
public string Note { get; set; } = string.Empty;
public DateTime? LatestMsgTime { get; set; }
public QCChanllengeReuploadEnum ReuploadEnum { get; set; }
public Guid? LatestReplyUserId { get; set; }
[Comment(" 额外补充")]
[StringLength(1024)]
public string Note { get; set; } = null!;
public TrialQCProcess QCProcessEnum { get; set; }
public DateTime? ReUploadedTime { get; set; }
public QCChanllengeReuploadEnum? ReuploadEnum { get; set; }
[Comment(" 记录重传人")]
public string ReUploader { get; set; } = null!;
public string ReUploader { get; set; } = string.Empty;
public Guid? ReUploadUserId { get; set; }
public Guid SubjectVisitId { get; set; }
public TrialQCProcess QCProcessEnum { get; set; }
public Guid TrialId { get; set; }
public CurrentQC CurrentQCEnum { get; set; }
public DateTime? LatestMsgTime { get; set; }
public Guid? LatestReplyUserId { get; set; }
public string ChallengeCode { get; set; } = string.Empty;
public int Code { get; set; }
public bool IsClosed { get; set; }
public DateTime? ClosedTime { get; set; }
public string ClosedUser { get; set; } = string.Empty;
public QCChallengeCloseEnum CloseResonEnum { get; set; }
public string Content { get; set; } = string.Empty;
public string ActionContent { get; set; } = string.Empty;
public UserTypeEnum UserTypeEnum { get; set; }
public string ChallengeType { get; set; } = string.Empty;
}
}

View File

@ -1,13 +1,7 @@
using IRaCIS.Core.Domain.Share;
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("受试者访视 - QC质疑对话")]
[Table("QCChallengeDialog")]
namespace IRaCIS.Core.Domain.Models
{
public class QCChallengeDialog : BaseAddAuditEntity
{
#region 导航属性
@ -15,12 +9,12 @@ public class QCChallengeDialog : BaseAddAuditEntity
public QCChallenge QCChallenge { get; set; }
#endregion
public string TalkContent { get; set; } = string.Empty;
public Guid QCChallengeId { get; set; }
public Guid SubjectVisitId { get; set; }
[StringLength(500)]
public string TalkContent { get; set; } = null!;
public UserTypeEnum UserTypeEnum { get; set; }
}
}

View File

@ -3,13 +3,11 @@
// 生成时间 2021-11-11 11:19:10
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using IRaCIS.Core.Domain.Share;
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - QC质控问题需要同步")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///QCQuestionConfigure
///</summary>
[Table("QCQuestion")]
public class QCQuestion : BaseFullAuditEntity
{
@ -20,28 +18,31 @@ public class QCQuestion : BaseFullAuditEntity
public QCQuestion ParentQuestion { get; set; }
#endregion
public bool IsEnable { get; set; }
public string QuestionName { get; set; } = string.Empty;
/// <summary> 语言类型 </summary>
public LanguageType LanguageType { get; set; } = LanguageType.Chinese;
public bool IsRequired { get; set; }
public LanguageType LanguageType { get; set; }
public bool IsEnable { get; set; }
/// <summary> 下拉框、文本、单选、多选 </summary>
public string Type { get; set; } = string.Empty;
public string TypeValue { get; set; } = string.Empty;
public string ParentTriggerValue { get; set; } = string.Empty;
public Guid? ParentId { get; set; }
public string ParentTriggerValue { get; set; } = null!;
[StringLength(510)]
public string QuestionName { get; set; } = null!;
public int ShowOrder { get; set; }
[Comment(" 下拉框、文本、单选、多选")]
public string Type { get; set; } = null!;
public string TypeValue { get; set; } = null!;
}
}

View File

@ -3,14 +3,11 @@
// 生成时间 2021-11-11 11:19:10
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using IRaCIS.Core.Domain.Share;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("项目 - 质控问题")]
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///TrialQCQuestionConfigure
///</summary>
[Table("TrialQCQuestion")]
public class TrialQCQuestion : BaseFullAuditEntity
{
@ -29,15 +26,19 @@ public class TrialQCQuestion : BaseFullAuditEntity
public Guid TrialId { get; set; }
[StringLength(500)]
public string QuestionName { get; set; } = string.Empty;
/// <summary> 语言类型 </summary>
public LanguageType LanguageType { get; set; } = LanguageType.Chinese;
public bool IsRequired { get; set; }
public bool IsEnable { get; set; }
[Comment(" 下拉框、文本、单选、多选")]
/// <summary> 下拉框、文本、单选、多选 </summary>
public string Type { get; set; } = string.Empty;
@ -61,4 +62,4 @@ public class TrialQCQuestion : BaseFullAuditEntity
}
}

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