Files
irc-netcore-api/IRaCIS.Core.Domain/QC/QCQuestion.cs
T
hang e9bb71f5c9
continuous-integration/drone/push Build is passing
同步数据库备注到实体
2024-09-20 22:45:48 +08:00

31 lines
897 B
C#

using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - QC质控问题(需要同步)")]
[Table("QCQuestion")]
public class QCQuestion : BaseFullAuditEntity
{
#region 导航属性
[JsonIgnore]
[ForeignKey("ParentId")]
public QCQuestion ParentQuestion { get; set; }
#endregion
public string QuestionName { get; set; } = string.Empty;
[Comment("语言类型")]
public LanguageType LanguageType { get; set; } = LanguageType.Chinese;
public bool IsRequired { get; set; }
public bool IsEnable { get; set; }
[Comment("下拉框、文本、单选、多选")]
public string Type { get; set; } = string.Empty;
public string TypeValue { get; set; } = string.Empty;
public string ParentTriggerValue { get; set; } = string.Empty;
public Guid? ParentId { get; set; }
public int ShowOrder { get; set; }
}