11 changed files with 248 additions and 70 deletions
-
34src/Shentun.WebPeis.Application.Contracts/QuestionAnswers/CreateQuestionAnswerAsbitemDto.cs
-
19src/Shentun.WebPeis.Application.Contracts/QuestionAnswers/CreateQuestionAnswerRiskLevelDto.cs
-
28src/Shentun.WebPeis.Application.Contracts/QuestionAnswers/QuestionAnswerAsbitemDto.cs
-
25src/Shentun.WebPeis.Application.Contracts/QuestionAnswers/QuestionAnswerRiskLevelDto.cs
-
4src/Shentun.WebPeis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs
-
60src/Shentun.WebPeis.Application/DiseaseRiskLevels/DiseaseRiskLevelAppService.cs
-
129src/Shentun.WebPeis.Application/QuestionAnswers/QuestionAnswerAppService.cs
-
4src/Shentun.WebPeis.Application/QuestionRegisters/QuestionRegisterAppService.cs
-
4src/Shentun.WebPeis.Domain/Models/QuestionAnswerRiskLevel.cs
-
8src/Shentun.WebPeis.EntityFrameworkCore/Configures/QuestionAnswerRiskLevelConfigure.cs
-
3src/Shentun.WebPeis.EntityFrameworkCore/EntityFrameworkCore/WebPeisDbContext.cs
@ -0,0 +1,34 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Text; |
|||
|
|||
namespace Shentun.WebPeis.QuestionAnswers |
|||
{ |
|||
public class CreateQuestionAnswerAsbitemDto |
|||
{ |
|||
/// <summary>
|
|||
/// 问卷答案ID
|
|||
/// </summary>
|
|||
public Guid QuestionAnswerId { get; set; } |
|||
/// <summary>
|
|||
/// 组合项目集合
|
|||
/// </summary>
|
|||
|
|||
public List<CreateQuestionAnswerAsbitemDetail> Asbitems { get; set; } = new List<CreateQuestionAnswerAsbitemDetail>(); |
|||
|
|||
} |
|||
|
|||
public class CreateQuestionAnswerAsbitemDetail |
|||
{ |
|||
/// <summary>
|
|||
/// 组合项目ID
|
|||
/// </summary>
|
|||
|
|||
public Guid AsbitemId { get; set; } |
|||
/// <summary>
|
|||
/// 推荐组合项目级别 1-一级推荐,2-2级推荐,3-3级推荐
|
|||
/// </summary>
|
|||
|
|||
public short AsbitemRecommendLevelId { get; set; } |
|||
} |
|||
} |
|||
@ -0,0 +1,19 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Text; |
|||
|
|||
namespace Shentun.WebPeis.QuestionAnswers |
|||
{ |
|||
public class CreateQuestionAnswerRiskLevelDto |
|||
{ |
|||
/// <summary>
|
|||
/// 问卷答案ID
|
|||
/// </summary>
|
|||
public Guid QuestionAnswerId { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 疾病风险级别集合
|
|||
/// </summary>
|
|||
public List<Guid> DiseaseRiskLevelIds { get; set; } = new List<Guid>(); |
|||
} |
|||
} |
|||
@ -0,0 +1,28 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Text; |
|||
|
|||
namespace Shentun.WebPeis.QuestionAnswers |
|||
{ |
|||
public class QuestionAnswerAsbitemDto |
|||
{ |
|||
/// <summary>
|
|||
/// 问卷答案ID
|
|||
/// </summary>
|
|||
public Guid QuestionAnswerId { get; set; } |
|||
/// <summary>
|
|||
/// 组合项目ID
|
|||
/// </summary>
|
|||
public Guid AsbitemId { get; set; } |
|||
/// <summary>
|
|||
/// 组合项目名称
|
|||
/// </summary>
|
|||
public string AsbitemName { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 推荐组合项目级别 1-一级推荐,2-2级推荐,3-3级推荐
|
|||
/// </summary>
|
|||
|
|||
public short AsbitemRecommendLevelId { get; set; } |
|||
} |
|||
} |
|||
@ -0,0 +1,25 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Text; |
|||
|
|||
namespace Shentun.WebPeis.QuestionAnswers |
|||
{ |
|||
public class QuestionAnswerRiskLevelDto |
|||
{ |
|||
|
|||
|
|||
/// <summary>
|
|||
/// 问卷答案ID
|
|||
/// </summary>
|
|||
public Guid QuestionAnswerId { get; set; } |
|||
|
|||
/// 疾病风险疾病ID
|
|||
/// </summary>
|
|||
public Guid DiseaseRiskLevelId { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 疾病风险名称
|
|||
/// </summary>
|
|||
public string DiseaseRiskLevelName { get; set; } |
|||
} |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue