70 lines
2.2 KiB
C#
70 lines
2.2 KiB
C#
using SqlSugar;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace YBDevice.Entity
|
|
{
|
|
/// <summary>
|
|
/// 儿童中医体质问题
|
|
/// </summary>
|
|
public class YB_ChildBodyQA
|
|
{
|
|
/// <summary>
|
|
/// 主键
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey = true)]
|
|
public Guid Id { get; set; }
|
|
/// <summary>
|
|
/// 体质类型
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "体质类型")]
|
|
public ChildBodyTypeEnum Type { get; set; }
|
|
/// <summary>
|
|
/// 没有(根本不)的分数值
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "没有(根本不)的分数值")]
|
|
public int NoneValue { get; set; }
|
|
/// <summary>
|
|
/// 很少(有一点)的分数值
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = " 很少(有一点)的分数值")]
|
|
public int LittleValue { get; set; }
|
|
/// <summary>
|
|
/// 有时(有些)的分数值
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "有时(有些)的分数值")]
|
|
public int SomeValue { get; set; }
|
|
/// <summary>
|
|
/// 经常(相当)的分数值
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "经常(相当)的分数值")]
|
|
public int OftenValue { get; set; }
|
|
/// <summary>
|
|
/// 总是(非常)的分数值
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "总是(非常)的分数值")]
|
|
public int AlWaysValue { get; set; }
|
|
/// <summary>
|
|
/// 问题内容
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "问题内容",ColumnDataType ="nvarchar(200)",IsNullable =false)]
|
|
public string Content { get; set; }
|
|
/// <summary>
|
|
/// 同分数的题目ID
|
|
/// </summary>
|
|
public Guid? SameId { get; set; }
|
|
/// <summary>
|
|
/// 同分数的题目类型
|
|
/// </summary>
|
|
public ChildBodyTypeEnum SameType { get; set; }
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "创建时间", IsNullable = false)]
|
|
public DateTime CreateTime { get; set; }
|
|
}
|
|
}
|