添加 数值类型和单位

This commit is contained in:
he
2022-10-08 16:23:08 +08:00
parent efc595c615
commit 4c831b146f
6 changed files with 120 additions and 0 deletions
@@ -140,6 +140,16 @@ namespace IRaCIS.Core.Domain.Models
/// </summary>
public TableQuestionType? QuestionGenre { get; set; }
/// <summary>
/// 数值类型
/// </summary>
public ValueOfType? ValueType { get; set; }
/// <summary>
/// 单位
/// </summary>
public string Unit { get; set; } = string.Empty;
[JsonIgnore]
[ForeignKey("ReadingQuestionCriterionSystemId")]
public ReadingQuestionCriterionSystem ReadingQuestionCriterionSystem { get; set; }
@@ -173,6 +173,16 @@ namespace IRaCIS.Core.Domain.Models
/// </summary>
public TableQuestionType? QuestionGenre { get; set; }
/// <summary>
/// 数值类型
/// </summary>
public ValueOfType? ValueType { get; set; }
/// <summary>
/// 单位
/// </summary>
public string Unit { get; set; } = string.Empty;
/// <summary>
/// 分页标准
/// </summary>
@@ -137,6 +137,17 @@ namespace IRaCIS.Core.Domain.Models
/// </summary>
public string DictionaryCode { get; set; }
/// <summary>
/// 数值类型
/// </summary>
public ValueOfType? ValueType { get; set; }
/// <summary>
/// 单位
/// </summary>
public string Unit { get; set; } = string.Empty;
[ForeignKey("DependParentId")]
public ReadingTableQuestionSystem DependParentQuestion { get; set; }
}
@@ -142,6 +142,16 @@ namespace IRaCIS.Core.Domain.Models
/// </summary>
public string DictionaryCode { get; set; }
/// <summary>
/// 数值类型
/// </summary>
public ValueOfType? ValueType { get; set; }
/// <summary>
/// 单位
/// </summary>
public string Unit { get; set; } = string.Empty;
[JsonIgnore]
[ForeignKey("DependParentId")]
public ReadingTableQuestionTrial DependParentQuestion { get; set; }