实体标注,修改默认长度
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
4d206ebf9d
commit
1da4fbe23b
|
@ -19,7 +19,7 @@ public partial class Dictionary : BaseFullAuditEntity
|
||||||
public List<Dictionary> ChildList { get; set; } = new List<Dictionary>();
|
public List<Dictionary> ChildList { get; set; } = new List<Dictionary>();
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
[StringLength(400)]
|
|
||||||
public string ChildGroup { get; set; } = null!;
|
public string ChildGroup { get; set; } = null!;
|
||||||
|
|
||||||
public string Code { get; set; } = null!;
|
public string Code { get; set; } = null!;
|
||||||
|
@ -29,7 +29,6 @@ public partial class Dictionary : BaseFullAuditEntity
|
||||||
[Comment("字典类型- 枚举|bool|下拉框")]
|
[Comment("字典类型- 枚举|bool|下拉框")]
|
||||||
public DicDataTypeEnum DataTypeEnum { get; set; }
|
public DicDataTypeEnum DataTypeEnum { get; set; }
|
||||||
|
|
||||||
[StringLength(512)]
|
|
||||||
public string Description { get; set; } = null!;
|
public string Description { get; set; } = null!;
|
||||||
|
|
||||||
[Comment("是否字典类型配置")]
|
[Comment("是否字典类型配置")]
|
||||||
|
@ -41,9 +40,9 @@ public partial class Dictionary : BaseFullAuditEntity
|
||||||
|
|
||||||
public int ShowOrder { get; set; }
|
public int ShowOrder { get; set; }
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string Value { get; set; } = null!;
|
public string Value { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string ValueCN { get; set; } = null!;
|
public string ValueCN { get; set; } = null!;
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,16 +13,13 @@ public class ExploreRecommend : BaseFullDeleteAuditEntity
|
||||||
|
|
||||||
public string ExploreType { get; set; } = null!;
|
public string ExploreType { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(1000)]
|
|
||||||
public string FileName { get; set; } = null!;
|
public string FileName { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(1000)]
|
[StringLength(1000)]
|
||||||
public string Path { get; set; } = null!;
|
public string Path { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(1000)]
|
|
||||||
public string Title { get; set; } = null!;
|
public string Title { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(2000)]
|
|
||||||
public string Version { get; set; } = null!;
|
public string Version { get; set; } = null!;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,11 +11,11 @@ public class FrontAuditConfig : BaseFullAuditEntity
|
||||||
public string ChildDataEnLabel { get; set; } = null!;
|
public string ChildDataEnLabel { get; set; } = null!;
|
||||||
|
|
||||||
[Comment("前端渲染数组 数组名 和数组值")]
|
[Comment("前端渲染数组 数组名 和数组值")]
|
||||||
[StringLength(400)]
|
|
||||||
public string ChildDataLabel { get; set; } = null!;
|
public string ChildDataLabel { get; set; } = null!;
|
||||||
|
|
||||||
[Comment("子数据Value")]
|
[Comment("子数据Value")]
|
||||||
[StringLength(400)]
|
|
||||||
public string ChildDataValue { get; set; } = null!;
|
public string ChildDataValue { get; set; } = null!;
|
||||||
|
|
||||||
public Guid? ChildrenTypeId { get; set; }
|
public Guid? ChildrenTypeId { get; set; }
|
||||||
|
@ -67,7 +67,7 @@ public class FrontAuditConfig : BaseFullAuditEntity
|
||||||
public string ForeignKeyValue { get; set; } = null!;
|
public string ForeignKeyValue { get; set; } = null!;
|
||||||
|
|
||||||
[Comment("标识")]
|
[Comment("标识")]
|
||||||
[StringLength(400)]
|
|
||||||
public string Identification { get; set; } = null!;
|
public string Identification { get; set; } = null!;
|
||||||
|
|
||||||
[Comment("接口名")]
|
[Comment("接口名")]
|
||||||
|
@ -117,10 +117,10 @@ public class FrontAuditConfig : BaseFullAuditEntity
|
||||||
[MaxLength]
|
[MaxLength]
|
||||||
public string? UrlConfigJsonStr { get; set; }
|
public string? UrlConfigJsonStr { get; set; }
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string Value { get; set; } = null!;
|
public string Value { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string ValueCN { get; set; } = null!;
|
public string ValueCN { get; set; } = null!;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,6 @@ public class Attachment : BaseAddAuditEntity
|
||||||
public Doctor Doctor { get; set; }
|
public Doctor Doctor { get; set; }
|
||||||
|
|
||||||
[Comment("编码")]
|
[Comment("编码")]
|
||||||
[StringLength(400)]
|
|
||||||
public string Code { get; set; } = null!;
|
public string Code { get; set; } = null!;
|
||||||
|
|
||||||
public Guid DoctorId { get; set; }
|
public Guid DoctorId { get; set; }
|
||||||
|
@ -26,10 +25,9 @@ public class Attachment : BaseAddAuditEntity
|
||||||
[Comment("1 中文 2为英文")]
|
[Comment("1 中文 2为英文")]
|
||||||
public int Language { get; set; }
|
public int Language { get; set; }
|
||||||
|
|
||||||
[StringLength(512)]
|
[StringLength(1000)]
|
||||||
public string Path { get; set; } = null!;
|
public string Path { get; set; } = null!;
|
||||||
|
|
||||||
[Comment("文件类型名")]
|
[Comment("文件类型名")]
|
||||||
[StringLength(400)]
|
|
||||||
public string Type { get; set; } = null!;
|
public string Type { get; set; } = null!;
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,7 +58,7 @@ public class Doctor : BaseFullAuditEntity
|
||||||
[MaxLength]
|
[MaxLength]
|
||||||
public string? BlindPublications { get; set; }
|
public string? BlindPublications { get; set; }
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string ChineseName { get; set; } = null!;
|
public string ChineseName { get; set; } = null!;
|
||||||
|
|
||||||
public int Code { get; set; }
|
public int Code { get; set; }
|
||||||
|
@ -67,16 +67,16 @@ public class Doctor : BaseFullAuditEntity
|
||||||
|
|
||||||
public Guid? DepartmentId { get; set; }
|
public Guid? DepartmentId { get; set; }
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string DepartmentOther { get; set; } = null!;
|
public string DepartmentOther { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string DepartmentOtherCN { get; set; } = null!;
|
public string DepartmentOtherCN { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string EMail { get; set; } = null!;
|
public string EMail { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string FirstName { get; set; } = null!;
|
public string FirstName { get; set; } = null!;
|
||||||
|
|
||||||
public int GCP { get; set; }
|
public int GCP { get; set; }
|
||||||
|
@ -89,14 +89,14 @@ public class Doctor : BaseFullAuditEntity
|
||||||
|
|
||||||
public string HospitalOtherCN { get; set; } = null!;
|
public string HospitalOtherCN { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(2000)]
|
[MaxLength]
|
||||||
public string Introduction { get; set; } = null!;
|
public string Introduction { get; set; } = null!;
|
||||||
|
|
||||||
public bool IsVirtual { get; set; }
|
public bool IsVirtual { get; set; }
|
||||||
|
|
||||||
public DateTime? LastLoginTime { get; set; }
|
public DateTime? LastLoginTime { get; set; }
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string LastName { get; set; } = null!;
|
public string LastName { get; set; } = null!;
|
||||||
|
|
||||||
public int Nation { get; set; }
|
public int Nation { get; set; }
|
||||||
|
@ -107,10 +107,10 @@ public class Doctor : BaseFullAuditEntity
|
||||||
[MaxLength]
|
[MaxLength]
|
||||||
public string? OtherClinicalExperienceCN { get; set; }
|
public string? OtherClinicalExperienceCN { get; set; }
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string Password { get; set; } = null!;
|
public string Password { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string Phone { get; set; } = null!;
|
public string Phone { get; set; } = null!;
|
||||||
|
|
||||||
public string PhotoPath { get; set; } = null!;
|
public string PhotoPath { get; set; } = null!;
|
||||||
|
@ -123,32 +123,32 @@ public class Doctor : BaseFullAuditEntity
|
||||||
|
|
||||||
public Guid? PositionId { get; set; }
|
public Guid? PositionId { get; set; }
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string PositionOther { get; set; } = null!;
|
public string PositionOther { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string PositionOtherCN { get; set; } = null!;
|
public string PositionOtherCN { get; set; } = null!;
|
||||||
|
|
||||||
public Guid? RankId { get; set; }
|
public Guid? RankId { get; set; }
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string RankOther { get; set; } = null!;
|
public string RankOther { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string RankOtherCN { get; set; } = null!;
|
public string RankOtherCN { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string ReadingTypeOther { get; set; } = null!;
|
public string ReadingTypeOther { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string ReadingTypeOtherCN { get; set; } = null!;
|
public string ReadingTypeOtherCN { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(512)]
|
[StringLength(1000)]
|
||||||
public string ResumePath { get; set; } = null!;
|
public string ResumePath { get; set; } = null!;
|
||||||
|
|
||||||
public ResumeStatusEnum ResumeStatus { get; set; } = ResumeStatusEnum.Failed;
|
public ResumeStatusEnum ResumeStatus { get; set; } = ResumeStatusEnum.Failed;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string ReviewerCode { get; set; } = null!;
|
public string ReviewerCode { get; set; } = null!;
|
||||||
|
|
||||||
public ReviewerInformationConfirmStatus ReviewStatus { get; set; } = ReviewerInformationConfirmStatus.ConfirmRefuse;
|
public ReviewerInformationConfirmStatus ReviewStatus { get; set; } = ReviewerInformationConfirmStatus.ConfirmRefuse;
|
||||||
|
@ -157,19 +157,19 @@ public class Doctor : BaseFullAuditEntity
|
||||||
|
|
||||||
public Guid? SpecialityId { get; set; }
|
public Guid? SpecialityId { get; set; }
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string SpecialityOther { get; set; } = null!;
|
public string SpecialityOther { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string SpecialityOtherCN { get; set; } = null!;
|
public string SpecialityOtherCN { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string SubspecialityOther { get; set; } = null!;
|
public string SubspecialityOther { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string SubspecialityOtherCN { get; set; } = null!;
|
public string SubspecialityOtherCN { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string WeChat { get; set; } = null!;
|
public string WeChat { get; set; } = null!;
|
||||||
|
|
||||||
[NotMapped]
|
[NotMapped]
|
||||||
|
|
|
@ -18,10 +18,10 @@ public class DoctorCriterionFile : BaseAddAuditEntity
|
||||||
|
|
||||||
public Guid DoctorId { get; set; }
|
public Guid DoctorId { get; set; }
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string FileName { get; set; } = null!;
|
public string FileName { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(4000)]
|
[StringLength(1000)]
|
||||||
public string FilePath { get; set; } = null!;
|
public string FilePath { get; set; } = null!;
|
||||||
|
|
||||||
public CriterionFileType FileType { get; set; }
|
public CriterionFileType FileType { get; set; }
|
||||||
|
|
|
@ -18,6 +18,6 @@ public class DoctorDictionary : Entity
|
||||||
|
|
||||||
public Guid DoctorId { get; set; }
|
public Guid DoctorId { get; set; }
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string KeyName { get; set; } = null!;
|
public string KeyName { get; set; } = null!;
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,6 +40,6 @@ public class Workload : BaseFullAuditEntity
|
||||||
|
|
||||||
public DateTime WorkTime { get; set; }
|
public DateTime WorkTime { get; set; }
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string YearMonth { get; set; } = null!;
|
public string YearMonth { get; set; } = null!;
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,44 +9,44 @@ public class Education : BaseFullAuditEntity
|
||||||
#endregion
|
#endregion
|
||||||
public DateTime? BeginDate { get; set; }
|
public DateTime? BeginDate { get; set; }
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string City { get; set; } = null!;
|
public string City { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string CityCN { get; set; } = null!;
|
public string CityCN { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string Country { get; set; } = null!;
|
public string Country { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string CountryCN { get; set; } = null!;
|
public string CountryCN { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string Degree { get; set; } = null!;
|
public string Degree { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string DegreeCN { get; set; } = null!;
|
public string DegreeCN { get; set; } = null!;
|
||||||
|
|
||||||
public Guid DoctorId { get; set; }
|
public Guid DoctorId { get; set; }
|
||||||
|
|
||||||
public DateTime? EndDate { get; set; }
|
public DateTime? EndDate { get; set; }
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string Major { get; set; } = null!;
|
public string Major { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string MajorCN { get; set; } = null!;
|
public string MajorCN { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string Organization { get; set; } = null!;
|
public string Organization { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string OrganizationCN { get; set; } = null!;
|
public string OrganizationCN { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string Province { get; set; } = null!;
|
public string Province { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string ProvinceCN { get; set; } = null!;
|
public string ProvinceCN { get; set; } = null!;
|
||||||
|
|
||||||
public int ShowOrder { get; set; }
|
public int ShowOrder { get; set; }
|
||||||
|
|
|
@ -7,7 +7,7 @@ public partial class ReviewerPayInformation : BaseFullAuditEntity
|
||||||
[DecimalPrecision(18, 2)]
|
[DecimalPrecision(18, 2)]
|
||||||
public decimal Additional { get; set; }
|
public decimal Additional { get; set; }
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string BankCardNumber { get; set; } = null!;
|
public string BankCardNumber { get; set; } = null!;
|
||||||
|
|
||||||
public string BankName { get; set; } = null!;
|
public string BankName { get; set; } = null!;
|
||||||
|
@ -16,7 +16,7 @@ public partial class ReviewerPayInformation : BaseFullAuditEntity
|
||||||
|
|
||||||
public string DoctorNameInBank { get; set; } = null!;
|
public string DoctorNameInBank { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string IDCard { get; set; } = null!;
|
public string IDCard { get; set; } = null!;
|
||||||
|
|
||||||
public Guid RankId { get; set; }
|
public Guid RankId { get; set; }
|
||||||
|
|
|
@ -20,17 +20,16 @@ public class DicomInstance : BaseFullAuditEntity, IEntitySeqId
|
||||||
|
|
||||||
public long? FileSize { get; set; }
|
public long? FileSize { get; set; }
|
||||||
|
|
||||||
[StringLength(500)]
|
|
||||||
public string FrameOfReferenceUID { get; set; } = null!;
|
public string FrameOfReferenceUID { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(512)]
|
[StringLength(1000)]
|
||||||
public string HtmlPath { get; set; } = null!;
|
public string HtmlPath { get; set; } = null!;
|
||||||
|
|
||||||
public int ImageColumns { get; set; }
|
public int ImageColumns { get; set; }
|
||||||
|
|
||||||
public int ImageRows { get; set; }
|
public int ImageRows { get; set; }
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string ImagerPixelSpacing { get; set; } = null!;
|
public string ImagerPixelSpacing { get; set; } = null!;
|
||||||
|
|
||||||
public int InstanceNumber { get; set; }
|
public int InstanceNumber { get; set; }
|
||||||
|
@ -41,7 +40,7 @@ public class DicomInstance : BaseFullAuditEntity, IEntitySeqId
|
||||||
[MaxLength]
|
[MaxLength]
|
||||||
public string Path { get; set; } = null!;
|
public string Path { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string PixelSpacing { get; set; } = null!;
|
public string PixelSpacing { get; set; } = null!;
|
||||||
|
|
||||||
public Guid SeqId { get; set; }
|
public Guid SeqId { get; set; }
|
||||||
|
@ -52,7 +51,7 @@ public class DicomInstance : BaseFullAuditEntity, IEntitySeqId
|
||||||
|
|
||||||
public int SliceLocation { get; set; }
|
public int SliceLocation { get; set; }
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string SliceThickness { get; set; } = null!;
|
public string SliceThickness { get; set; } = null!;
|
||||||
|
|
||||||
public string SopInstanceUid { get; set; } = null!;
|
public string SopInstanceUid { get; set; } = null!;
|
||||||
|
@ -67,9 +66,9 @@ public class DicomInstance : BaseFullAuditEntity, IEntitySeqId
|
||||||
|
|
||||||
public Guid TrialId { get; set; }
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string WindowCenter { get; set; } = null!;
|
public string WindowCenter { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string WindowWidth { get; set; } = null!;
|
public string WindowWidth { get; set; } = null!;
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,14 +24,13 @@ public class DicomSeries : BaseFullDeleteAuditEntity, IEntitySeqId
|
||||||
|
|
||||||
public string BodyPartForEdit { get; set; } = null!;
|
public string BodyPartForEdit { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(500)]
|
|
||||||
public string Description { get; set; } = null!;
|
public string Description { get; set; } = null!;
|
||||||
|
|
||||||
public string ImageOrientationPatient { get; set; } = null!;
|
public string ImageOrientationPatient { get; set; } = null!;
|
||||||
|
|
||||||
public string ImagePositionPatient { get; set; } = null!;
|
public string ImagePositionPatient { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(1600)]
|
[StringLength(1000)]
|
||||||
public string ImageResizePath { get; set; } = null!;
|
public string ImageResizePath { get; set; } = null!;
|
||||||
|
|
||||||
public string ImagerPixelSpacing { get; set; } = null!;
|
public string ImagerPixelSpacing { get; set; } = null!;
|
||||||
|
@ -42,7 +41,6 @@ public class DicomSeries : BaseFullDeleteAuditEntity, IEntitySeqId
|
||||||
|
|
||||||
public string Modality { get; set; } = null!;
|
public string Modality { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(500)]
|
|
||||||
public string ProtocolName { get; set; } = null!;
|
public string ProtocolName { get; set; } = null!;
|
||||||
|
|
||||||
public Guid SeqId { get; set; }
|
public Guid SeqId { get; set; }
|
||||||
|
|
|
@ -34,19 +34,17 @@ public class DicomStudy : BaseFullDeleteAuditEntity, IEntitySeqId
|
||||||
|
|
||||||
public string AcquisitionTime { get; set; } = null!;
|
public string AcquisitionTime { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(500)]
|
|
||||||
public string BodyPartExamined { get; set; } = null!;
|
public string BodyPartExamined { get; set; } = null!;
|
||||||
|
|
||||||
public string BodyPartForEdit { get; set; } = null!;
|
public string BodyPartForEdit { get; set; } = null!;
|
||||||
|
|
||||||
public int Code { get; set; }
|
public int Code { get; set; }
|
||||||
|
|
||||||
[StringLength(1000)]
|
|
||||||
public string Description { get; set; } = null!;
|
public string Description { get; set; } = null!;
|
||||||
|
|
||||||
public int InstanceCount { get; set; }
|
public int InstanceCount { get; set; }
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string InstitutionName { get; set; } = null!;
|
public string InstitutionName { get; set; } = null!;
|
||||||
|
|
||||||
public bool IsDoubleReview { get; set; }
|
public bool IsDoubleReview { get; set; }
|
||||||
|
@ -72,13 +70,12 @@ public class DicomStudy : BaseFullDeleteAuditEntity, IEntitySeqId
|
||||||
|
|
||||||
public int SeriesCount { get; set; }
|
public int SeriesCount { get; set; }
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string StudyCode { get; set; } = null!;
|
public string StudyCode { get; set; } = null!;
|
||||||
|
|
||||||
[Comment("DicomTag.StudyID")]
|
[Comment("DicomTag.StudyID")]
|
||||||
public string StudyId { get; set; } = null!;
|
public string StudyId { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(500)]
|
|
||||||
public string StudyInstanceUid { get; set; } = null!;
|
public string StudyInstanceUid { get; set; } = null!;
|
||||||
|
|
||||||
public DateTime? StudyTime { get; set; }
|
public DateTime? StudyTime { get; set; }
|
||||||
|
|
|
@ -10,10 +10,8 @@ public class CRO : BaseFullAuditEntity
|
||||||
|
|
||||||
public string CROCode { get; set; } = null!;
|
public string CROCode { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(1000)]
|
|
||||||
public string CROName { get; set; } = null!;
|
public string CROName { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(1000)]
|
|
||||||
public string CRONameCN { get; set; } = null!;
|
public string CRONameCN { get; set; } = null!;
|
||||||
|
|
||||||
[Comment("是否是项目级别")]
|
[Comment("是否是项目级别")]
|
||||||
|
|
|
@ -31,7 +31,7 @@ public class User : BaseFullAuditEntity
|
||||||
|
|
||||||
public int Code { get; set; }
|
public int Code { get; set; }
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string DepartmentName { get; set; } = null!;
|
public string DepartmentName { get; set; } = null!;
|
||||||
|
|
||||||
[Comment("医生生成账号后,会有值")]
|
[Comment("医生生成账号后,会有值")]
|
||||||
|
@ -68,10 +68,10 @@ public class User : BaseFullAuditEntity
|
||||||
|
|
||||||
public bool PasswordChanged { get; set; }
|
public bool PasswordChanged { get; set; }
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string Phone { get; set; } = null!;
|
public string Phone { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string PositionName { get; set; } = null!;
|
public string PositionName { get; set; } = null!;
|
||||||
|
|
||||||
public int? Sex { get; set; }
|
public int? Sex { get; set; }
|
||||||
|
@ -80,7 +80,7 @@ public class User : BaseFullAuditEntity
|
||||||
|
|
||||||
public bool SuperAdmin { get; set; }
|
public bool SuperAdmin { get; set; }
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string UserCode { get; set; } = null!;
|
public string UserCode { get; set; } = null!;
|
||||||
|
|
||||||
public string UserName { get; set; } = null!;
|
public string UserName { get; set; } = null!;
|
||||||
|
|
|
@ -16,7 +16,7 @@ public class ClinicalDataSystemSet : BaseAddAuditEntity
|
||||||
|
|
||||||
public ClinicalLevel ClinicalDataLevel { get; set; }
|
public ClinicalLevel ClinicalDataLevel { get; set; }
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string ClinicalDataSetEnName { get; set; } = null!;
|
public string ClinicalDataSetEnName { get; set; } = null!;
|
||||||
[Comment("枚举(字典里面取的)")]
|
[Comment("枚举(字典里面取的)")]
|
||||||
public int ClinicalDataSetEnum { get; set; }
|
public int ClinicalDataSetEnum { get; set; }
|
||||||
|
@ -25,10 +25,10 @@ public class ClinicalDataSystemSet : BaseAddAuditEntity
|
||||||
[Comment("上传方式")]
|
[Comment("上传方式")]
|
||||||
public ClinicalUploadType ClinicalUploadType { get; set; }
|
public ClinicalUploadType ClinicalUploadType { get; set; }
|
||||||
|
|
||||||
[StringLength(512)]
|
[StringLength(1000)]
|
||||||
public string CriterionEnumListStr { get; set; } = null!;
|
public string CriterionEnumListStr { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string FileName { get; set; } = null!;
|
public string FileName { get; set; } = null!;
|
||||||
|
|
||||||
[Comment("是否应用")]
|
[Comment("是否应用")]
|
||||||
|
@ -36,7 +36,7 @@ public class ClinicalDataSystemSet : BaseAddAuditEntity
|
||||||
|
|
||||||
public bool IsEnable { get; set; }
|
public bool IsEnable { get; set; }
|
||||||
|
|
||||||
[StringLength(4000)]
|
[StringLength(1000)]
|
||||||
public string Path { get; set; } = null!;
|
public string Path { get; set; } = null!;
|
||||||
|
|
||||||
public UploadRole UploadRole { get; set; }
|
public UploadRole UploadRole { get; set; }
|
||||||
|
|
|
@ -29,7 +29,7 @@ public class ClinicalDataTrialSet : BaseAddAuditEntity
|
||||||
[Comment("临床级别")]
|
[Comment("临床级别")]
|
||||||
public ClinicalLevel ClinicalDataLevel { get; set; }
|
public ClinicalLevel ClinicalDataLevel { get; set; }
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string ClinicalDataSetEnName { get; set; } = null!;
|
public string ClinicalDataSetEnName { get; set; } = null!;
|
||||||
|
|
||||||
public string ClinicalDataSetName { get; set; } = null!;
|
public string ClinicalDataSetName { get; set; } = null!;
|
||||||
|
@ -37,10 +37,10 @@ public class ClinicalDataTrialSet : BaseAddAuditEntity
|
||||||
[Comment("上传方式")]
|
[Comment("上传方式")]
|
||||||
public ClinicalUploadType ClinicalUploadType { get; set; }
|
public ClinicalUploadType ClinicalUploadType { get; set; }
|
||||||
|
|
||||||
[StringLength(512)]
|
[StringLength(1000)]
|
||||||
public string CriterionEnumListStr { get; set; } = null!;
|
public string CriterionEnumListStr { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(400)]
|
|
||||||
public string FileName { get; set; } = null!;
|
public string FileName { get; set; } = null!;
|
||||||
|
|
||||||
[Comment("是否应用")]
|
[Comment("是否应用")]
|
||||||
|
@ -48,7 +48,7 @@ public class ClinicalDataTrialSet : BaseAddAuditEntity
|
||||||
|
|
||||||
public bool IsConfirm { get; set; }
|
public bool IsConfirm { get; set; }
|
||||||
|
|
||||||
[StringLength(4000)]
|
[StringLength(1000)]
|
||||||
public string Path { get; set; } = null!;
|
public string Path { get; set; } = null!;
|
||||||
|
|
||||||
public Guid? SystemClinicalDataSetId { get; set; }
|
public Guid? SystemClinicalDataSetId { get; set; }
|
||||||
|
@ -57,6 +57,7 @@ public class ClinicalDataTrialSet : BaseAddAuditEntity
|
||||||
|
|
||||||
public UploadRole UploadRole { get; set; }
|
public UploadRole UploadRole { get; set; }
|
||||||
|
|
||||||
|
[NotMapped]
|
||||||
public List<int> CriterionEnumList => CriterionEnumListStr.Split('|', StringSplitOptions.RemoveEmptyEntries).Where(t => !string.IsNullOrEmpty(t) && int.TryParse(t.Trim(), out var s)).Select(t => int.Parse(t.Trim())).ToList();
|
public List<int> CriterionEnumList => CriterionEnumListStr.Split('|', StringSplitOptions.RemoveEmptyEntries).Where(t => !string.IsNullOrEmpty(t) && int.TryParse(t.Trim(), out var s)).Select(t => int.Parse(t.Trim())).ToList();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ public class ClinicalForm : BaseAddAuditEntity
|
||||||
public Guid ClinicalDataTrialSetId { get; set; }
|
public Guid ClinicalDataTrialSetId { get; set; }
|
||||||
|
|
||||||
[Comment("截图地址")]
|
[Comment("截图地址")]
|
||||||
[StringLength(4000)]
|
[StringLength(1000)]
|
||||||
public string PicturePath { get; set; } = null!;
|
public string PicturePath { get; set; } = null!;
|
||||||
|
|
||||||
public Guid? ReadingId { get; set; }
|
public Guid? ReadingId { get; set; }
|
||||||
|
|
|
@ -10,7 +10,7 @@ public class ClinicalQuestionAnswer : BaseAddAuditEntity
|
||||||
public ClinicalForm ClinicalForm { get; set; }
|
public ClinicalForm ClinicalForm { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
[StringLength(4000)]
|
[StringLength(1000)]
|
||||||
public string Answer { get; set; } = null!;
|
public string Answer { get; set; } = null!;
|
||||||
|
|
||||||
public Guid ClinicalDataTrialSetId { get; set; }
|
public Guid ClinicalDataTrialSetId { get; set; }
|
||||||
|
|
|
@ -11,7 +11,7 @@ public partial class ClinicalTableAnswer : BaseAddAuditEntity
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
[Comment("答案")]
|
[Comment("答案")]
|
||||||
[StringLength(4000)]
|
[StringLength(1000)]
|
||||||
public string Answer { get; set; } = null!;
|
public string Answer { get; set; } = null!;
|
||||||
|
|
||||||
[Comment("表单Id")]
|
[Comment("表单Id")]
|
||||||
|
|
|
@ -53,7 +53,7 @@ public class IRaCISDBContext : DbContext
|
||||||
//decimal 不配置,默认精度是18,2
|
//decimal 不配置,默认精度是18,2
|
||||||
//configurationBuilder.Conventions.Add(_ => new DecimalPrecisionConvention(18,2));
|
//configurationBuilder.Conventions.Add(_ => new DecimalPrecisionConvention(18,2));
|
||||||
//针对字符串使用默认的长度配置为200,如果标注了StringLength 其他长度,就是标注的长度,如果标注了MaxLength 那么就是nvarcharMax
|
//针对字符串使用默认的长度配置为200,如果标注了StringLength 其他长度,就是标注的长度,如果标注了MaxLength 那么就是nvarcharMax
|
||||||
configurationBuilder.Conventions.Add(_ => new DefaultStringLengthConvention(200));
|
configurationBuilder.Conventions.Add(_ => new DefaultStringLengthConvention(400));
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
||||||
|
|
Loading…
Reference in New Issue