diff --git a/src/Shentun.WebPeis.Domain/Models/QuestionAnswer.cs b/src/Shentun.WebPeis.Domain/Models/QuestionAnswer.cs index dc0fdf9..1abf494 100644 --- a/src/Shentun.WebPeis.Domain/Models/QuestionAnswer.cs +++ b/src/Shentun.WebPeis.Domain/Models/QuestionAnswer.cs @@ -39,6 +39,19 @@ public partial class QuestionAnswer : AuditedEntity, IHasConcurrencyStamp /// public char? AnswerResultType { get; set; } + /// + /// 概述 + /// + + public string Overview { get; set; } + /// + /// 可能原因 + /// + public string Reason { get; set; } + /// + /// 健康指导 + /// + public string HealthGuidance { get; set; } /// /// 父答案ID diff --git a/src/Shentun.WebPeis.EntityFrameworkCore/Configures/QuestionAnswerConfigure.cs b/src/Shentun.WebPeis.EntityFrameworkCore/Configures/QuestionAnswerConfigure.cs index f223abe..e72f18d 100644 --- a/src/Shentun.WebPeis.EntityFrameworkCore/Configures/QuestionAnswerConfigure.cs +++ b/src/Shentun.WebPeis.EntityFrameworkCore/Configures/QuestionAnswerConfigure.cs @@ -64,6 +64,18 @@ namespace Shentun.WebPeis.Configures .HasMaxLength(1) .HasColumnName("is_none"); + entity.Property(e => e.Overview) + .HasMaxLength(300) + .HasColumnName("overview"); + + entity.Property(e => e.Reason) + .HasMaxLength(300) + .HasColumnName("reason"); + + entity.Property(e => e.HealthGuidance) + .HasMaxLength(300) + .HasColumnName("health_guidance"); + } } }