添加 数值类型和单位
parent
efc595c615
commit
4c831b146f
|
@ -116,6 +116,15 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
|
||||
public class ReadingTableQuestionTrialAddOrEdit
|
||||
{
|
||||
/// <summary>
|
||||
/// 数值类型
|
||||
/// </summary>
|
||||
public ValueOfType? ValueType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单位
|
||||
/// </summary>
|
||||
public string Unit { get; set; } = string.Empty;
|
||||
public Guid? Id { get; set; }
|
||||
|
||||
|
||||
|
@ -168,6 +177,15 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
///<summary> ReadingTableQuestionSystemAddOrEdit 列表查询参数模型</summary>
|
||||
public class ReadingTableQuestionSystemAddOrEdit
|
||||
{
|
||||
/// <summary>
|
||||
/// 数值类型
|
||||
/// </summary>
|
||||
public ValueOfType? ValueType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单位
|
||||
/// </summary>
|
||||
public string Unit { get; set; } = string.Empty;
|
||||
public Guid? Id { get; set; }
|
||||
public Guid ReadingQuestionId { get; set; }
|
||||
public string Type { get; set; } = string.Empty;
|
||||
|
@ -598,10 +616,30 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
/// 序号标记
|
||||
/// </summary>
|
||||
public string OrderMark { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 数值类型
|
||||
/// </summary>
|
||||
public ValueOfType? ValueType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单位
|
||||
/// </summary>
|
||||
public string Unit { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class ReadingQuestionSystemView
|
||||
{
|
||||
/// <summary>
|
||||
/// 数值类型
|
||||
/// </summary>
|
||||
public ValueOfType? ValueType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单位
|
||||
/// </summary>
|
||||
public string Unit { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Id
|
||||
/// </summary>
|
||||
|
@ -920,6 +958,15 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
}
|
||||
public class AddOrUpdateReadingQuestionSystemInDto
|
||||
{
|
||||
/// <summary>
|
||||
/// 数值类型
|
||||
/// </summary>
|
||||
public ValueOfType? ValueType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单位
|
||||
/// </summary>
|
||||
public string Unit { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 分组
|
||||
|
@ -1182,6 +1229,17 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
/// 序号标记
|
||||
/// </summary>
|
||||
public string OrderMark { get; set; } = string.Empty;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 数值类型
|
||||
/// </summary>
|
||||
public ValueOfType? ValueType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单位
|
||||
/// </summary>
|
||||
public string Unit { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class GetSystemCriterionSelectDto
|
||||
|
|
|
@ -16,6 +16,27 @@ namespace IRaCIS.Core.Domain.Share
|
|||
public static readonly string Group = "group";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 数值类型
|
||||
/// </summary>
|
||||
public enum ValueOfType
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 整形
|
||||
/// </summary>
|
||||
Plastic = 0,
|
||||
|
||||
/// <summary>
|
||||
/// 小数
|
||||
/// </summary>
|
||||
Decimals = 1,
|
||||
|
||||
/// <summary>
|
||||
/// 百分数
|
||||
/// </summary>
|
||||
Percentage = 2
|
||||
}
|
||||
|
||||
public enum ImagePlatform
|
||||
{
|
||||
|
|
|
@ -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; }
|
||||
|
|
Loading…
Reference in New Issue