用户增加工作语言,系统文档增加文档适用语言用户

This commit is contained in:
2026-05-12 11:45:55 +08:00
parent 9ee85bfa3c
commit 577f35a3fe
31 changed files with 22500 additions and 45 deletions
+22 -13
View File
@@ -61,7 +61,7 @@ public class Doctor : BaseFullAuditEntity
[MaxLength]
public string? BlindPublications { get; set; }
public string ChineseName { get; set; } = string.Empty;
public int Code { get; set; }
@@ -70,7 +70,7 @@ public class Doctor : BaseFullAuditEntity
public Guid? DepartmentId { get; set; }
public string DepartmentOther { get; set; } = string.Empty;
@@ -110,10 +110,10 @@ public class Doctor : BaseFullAuditEntity
public DateTime? LastLoginTime { get; set; }
public string LastName { get; set; } = string.Empty;
public int Nation { get; set; }
public DoctorNation Nation { get; set; }
public Guid OrganizationId { get; set; }
[MaxLength]
@@ -121,10 +121,10 @@ public class Doctor : BaseFullAuditEntity
[MaxLength]
public string? OtherClinicalExperienceCN { get; set; }
public string Password { get; set; } = string.Empty;
public string Phone { get; set; } = string.Empty;
public string PhotoPath { get; set; } = string.Empty;
@@ -137,24 +137,24 @@ public class Doctor : BaseFullAuditEntity
public Guid? PositionId { get; set; }
public string PositionOther { get; set; } = string.Empty;
public string PositionOtherCN { get; set; } = string.Empty;
public Guid? RankId { get; set; }
public string RankOther { get; set; } = string.Empty;
public string RankOtherCN { get; set; } = string.Empty;
public string ReadingTypeOther { get; set; } = string.Empty;
public string ReadingTypeOtherCN { get; set; } = string.Empty;
[StringLength(1000)]
@@ -162,7 +162,7 @@ public class Doctor : BaseFullAuditEntity
public ResumeStatusEnum ResumeStatus { get; set; } = ResumeStatusEnum.Failed;
public string ReviewerCode { get; set; } = string.Empty;
public ReviewerInformationConfirmStatus ReviewStatus { get; set; } = ReviewerInformationConfirmStatus.ConfirmRefuse;
@@ -281,3 +281,12 @@ public class Doctor : BaseFullAuditEntity
/// </summary>
public string HospitalNameCN { get; set; } = string.Empty;
}
public enum DoctorNation
{
CN = 0,
US = 1,
Europe = 2,
Other = 3
}
@@ -52,6 +52,9 @@ public class SystemDocument : BaseFullDeleteAuditEntity
public DateTime? PublishDate { get; set; }
public DocLanguageType DocLanguageType { get; set; }
}
@@ -106,4 +109,15 @@ public enum DocUserSignType
OnlyInner=1,
}
public enum DocLanguageType
{
CN = 0,
US = 1,
//共用
CN_US = 2
}
+12 -1
View File
@@ -157,6 +157,17 @@ public class IdentityUser : BaseFullAuditEntity
/// 隐私政策Id
/// </summary>
public Guid? PrivacyPolicyId { get; set; }
public UserWorkLanguage UserWorkLanguage { get; set; }
}
public enum UserWorkLanguage
{
CN = 0,
US = 1,
}
public enum UserCeateSource
@@ -169,6 +180,6 @@ public enum UserCeateSource
ReviewerSelect = 3,
External=4
External = 4
}
@@ -1,4 +1,6 @@
namespace IRaCIS.Core.Domain.Models;
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models;
[Comment("项目 - 项目中心表")]
[Table("TrialSite")]
@@ -40,4 +42,9 @@ public class TrialSite : BaseFullDeleteAuditEntity
public string TrialSiteAliasName { get; set; } = String.Empty;
public DateTime? EnabledTime { get; set; }
/// <summary>
/// 使用 StaticData.SiteCountry.CN;
/// </summary>
public string Country { get; set; }
}