Res_MemoInfo.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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.Resource
  7. {
  8. [SugarTable("Res_Memo")]
  9. public class Res_MemoInfo : EntityBase
  10. {
  11. /// <summary>
  12. /// 部门Id
  13. /// </summary>
  14. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  15. public int DepartmentId { get; set; }
  16. /// <summary>
  17. /// 阅读级别,1:个人,2:部门,3:公司
  18. /// </summary>
  19. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  20. public int ReadLevel { get; set; }
  21. /// <summary>
  22. /// 标题
  23. /// </summary>
  24. [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(100)")]
  25. public string Title { get; set; }
  26. /// <summary>
  27. /// 摘要
  28. /// </summary>
  29. [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(100)")]
  30. public string Abstracts { get; set; }
  31. /// <summary>
  32. /// MarkDown文件路径
  33. /// </summary>
  34. [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(200)")]
  35. public string MDFilePath { get; set; }
  36. /// <summary>
  37. /// 最后更新时间
  38. /// </summary>
  39. [SugarColumn(IsNullable = true, ColumnDataType = "datetime")]
  40. public DateTime LastedEditDt { get; set; }
  41. /// <summary>
  42. /// 最后提交用户
  43. /// </summary>
  44. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  45. public int LastedEditor { get; set; }
  46. }
  47. }