irc-netcore-api/IRaCIS.Core.Domain/QC/QCQuestion.cs

48 lines
1.3 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2021-11-11 11:19:10
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using IRaCIS.Core.Domain.Share;
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - QC质控问题需要同步")]
[Table("QCQuestion")]
public class QCQuestion : BaseFullAuditEntity
{
#region 导航属性
[JsonIgnore]
[ForeignKey("ParentId")]
public QCQuestion ParentQuestion { get; set; }
#endregion
public bool IsEnable { get; set; }
public bool IsRequired { get; set; }
public LanguageType LanguageType { get; set; }
public Guid? ParentId { get; set; }
public string ParentTriggerValue { get; set; } = null!;
[StringLength(510)]
public string QuestionName { get; set; } = null!;
public int ShowOrder { get; set; }
[Comment(" 下拉框、文本、单选、多选")]
public string Type { get; set; } = null!;
public string TypeValue { get; set; } = null!;
}