using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OASystem.Domain.Entities.System { /// /// 表单模板 /// [SugarTable("Sys_FormTemp", "表单模板")] public class Sys_FormTemp : EntityBase { /// /// 模板Id(datasetType Id) /// [SugarColumn(ColumnName = "TempId", ColumnDescription = "模板Id", IsNullable = true, ColumnDataType = "int")] public int TempId { get; set; } /// /// 字段NameId(datasetType Id) /// [SugarColumn(ColumnName = "FieldNameId", ColumnDescription = "字段Id(datasetType Id)", IsNullable = true, ColumnDataType = "int")] public int FieldNameId { get; set; } /// /// 字段TypeId(datasetType Id) /// [SugarColumn(ColumnName = "FieldTypeId", ColumnDescription = "字段TypeId(datasetType Id)", IsNullable = true, ColumnDataType = "int")] public int FieldTypeId { get; set; } /// /// 是否必填 /// [SugarColumn(ColumnName = "IsRequired", ColumnDescription = "是否必填", IsNullable = true, ColumnDataType = "bit")] public bool IsRequired { get; set; } = false; /// /// 是否备注 /// [SugarColumn(ColumnName = "IsRemark", ColumnDescription = "是否备注", IsNullable = true, ColumnDataType = "bit")] public bool IsRemark { get; set; } = false; /// /// 排序 /// [SugarColumn(ColumnName = "Index", ColumnDescription = "排序", IsNullable = true, ColumnDataType = "int")] public int Index { get; set; } } }