Sys_FormTemp.cs 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace OASystem.Domain.Entities.System
  7. {
  8. /// <summary>
  9. /// 表单模板
  10. /// </summary>
  11. [SugarTable("Sys_FormTemp", "表单模板")]
  12. public class Sys_FormTemp : EntityBase
  13. {
  14. /// <summary>
  15. /// 模板Id(datasetType Id)
  16. /// </summary>
  17. [SugarColumn(ColumnName = "TempId", ColumnDescription = "模板Id", IsNullable = true, ColumnDataType = "int")]
  18. public int TempId { get; set; }
  19. /// <summary>
  20. /// 字段NameId(datasetType Id)
  21. /// </summary>
  22. [SugarColumn(ColumnName = "FieldNameId", ColumnDescription = "字段Id(datasetType Id)", IsNullable = true, ColumnDataType = "int")]
  23. public int FieldNameId { get; set; }
  24. /// <summary>
  25. /// 字段TypeId(datasetType Id)
  26. /// </summary>
  27. [SugarColumn(ColumnName = "FieldTypeId", ColumnDescription = "字段TypeId(datasetType Id)", IsNullable = true, ColumnDataType = "int")]
  28. public int FieldTypeId { get; set; }
  29. /// <summary>
  30. /// 是否必填
  31. /// </summary>
  32. [SugarColumn(ColumnName = "IsRequired", ColumnDescription = "是否必填", IsNullable = true, ColumnDataType = "bit")]
  33. public bool IsRequired { get; set; } = false;
  34. /// <summary>
  35. /// 是否备注
  36. /// </summary>
  37. [SugarColumn(ColumnName = "IsRemark", ColumnDescription = "是否备注", IsNullable = true, ColumnDataType = "bit")]
  38. public bool IsRemark { get; set; } = false;
  39. /// <summary>
  40. /// 排序
  41. /// </summary>
  42. [SugarColumn(ColumnName = "Index", ColumnDescription = "排序", IsNullable = true, ColumnDataType = "int")]
  43. public int Index { get; set; }
  44. }
  45. }