File.cs 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. using SqlSugar;
  2. using System.ComponentModel;
  3. using XF.Domain.Repository;
  4. namespace Hotline.File
  5. {
  6. [Description("附件")]
  7. public class File : FullStateEntity
  8. {
  9. /// <summary>
  10. /// 附件全称
  11. /// </summary>
  12. [SugarColumn(ColumnDescription = "附件全称")]
  13. public string? FileName { get; set; }
  14. /// <summary>
  15. /// 附件名称
  16. /// </summary>
  17. [SugarColumn(ColumnDescription = "附件名称")]
  18. public string? Name { get; set; }
  19. /// <summary>
  20. /// 附件KEY
  21. /// 业务数据关联Id
  22. /// </summary>
  23. [SugarColumn(ColumnDescription = "附件Key")]
  24. public string Key { get; set; }
  25. /// <summary>
  26. /// 附件流程KEY
  27. /// </summary>
  28. [SugarColumn(ColumnDescription = "附件流程KEY")]
  29. public string? FlowKey { get; set; }
  30. /// <summary>
  31. /// 附件类型
  32. /// </summary>
  33. [SugarColumn(ColumnDescription = "附件类型")]
  34. public string? Type { get; set; }
  35. /// <summary>
  36. /// 部门ID
  37. /// </summary>
  38. [SugarColumn(ColumnDescription = "部门ID")]
  39. public string? OrgId { get; set; }
  40. /// <summary>
  41. /// 部门名称
  42. /// </summary>
  43. [SugarColumn(ColumnDescription = "部门名称")]
  44. public string? OrgName { get; set; }
  45. /// <summary>
  46. /// 上传人Id
  47. /// </summary>
  48. [SugarColumn(ColumnDescription = "上传人Id")]
  49. public string? UserId { get; set; }
  50. /// <summary>
  51. /// 上传人名称
  52. /// </summary>
  53. [SugarColumn(ColumnDescription = "上传人名称")]
  54. public string? UserName { get; set; }
  55. /// <summary>
  56. /// 是否公开
  57. /// </summary>
  58. [SugarColumn(ColumnDescription = "是否公开 0 公开 1 不公开")]
  59. public int? Publicity { get; set; }
  60. /// <summary>
  61. /// 附件分类
  62. /// </summary>
  63. [SugarColumn(ColumnDescription = "附件分类")]
  64. public string? Classify { get; set; }
  65. /// <summary>
  66. /// 附件
  67. /// </summary>
  68. [SugarColumn(ColumnDescription = "附件")]
  69. public string? Additions { get; set; }
  70. /// <summary>
  71. /// 附件路径
  72. /// </summary>
  73. [SugarColumn(ColumnDescription = "附件路径")]
  74. public string? Path { get; set; }
  75. /// <summary>
  76. /// 完整附件路径
  77. /// </summary>
  78. [SugarColumn(ColumnDescription = "完整附件路径", ColumnDataType = "varchar(500)")]
  79. public string? AllPath { get; set; }
  80. /// <summary>
  81. /// 时长(秒)
  82. /// </summary>
  83. [SugarColumn(ColumnDescription ="文件时长(秒)")]
  84. public long? Duration { get; set; }
  85. /// <summary>
  86. /// 老系统Id
  87. /// </summary>
  88. [SugarColumn(ColumnDescription = "老系统Id", IsNullable = true)]
  89. public string? OldId { get; set; }
  90. }
  91. }