SysFile.cs 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. namespace Model
  2. {
  3. /// <summary>
  4. /// 文件管理表 sys_file
  5. /// </summary>
  6. [SugarTable("sys_file", "文件管理表")]
  7. [Tenant("0")]
  8. public class SysFile
  9. {
  10. /// <summary>
  11. /// 编号
  12. /// </summary>
  13. [SugarColumn(ColumnDescription = "编号", ColumnName = "id")]
  14. public long Id { get; set; }
  15. /// <summary>
  16. /// 文件名
  17. /// </summary>
  18. [SugarColumn(ColumnDescription = "文件名", Length = 100, ColumnName = "file_name")]
  19. public string FileName { get; set; }
  20. /// <summary>
  21. /// 文件存储桶名称
  22. /// </summary>
  23. [SugarColumn(ColumnDescription = "文件存储桶名称", Length = 200, ColumnName = "bucket_name")]
  24. public string BucketName { get; set; }
  25. /// <summary>
  26. /// 原始文件名
  27. /// </summary>
  28. [SugarColumn(ColumnDescription = "原始文件名", Length = 100, ColumnName = "original")]
  29. public string Original { get; set; }
  30. /// <summary>
  31. /// 文件类型
  32. /// </summary>
  33. [SugarColumn(ColumnDescription = "文件类型", Length = 50, ColumnName = "type")]
  34. public string Type { get; set; }
  35. /// <summary>
  36. /// 文件大小
  37. /// </summary>
  38. [SugarColumn(ColumnDescription = "文件大小", ColumnName = "file_size")]
  39. public long FileSize { get; set; }
  40. /// <summary>
  41. /// 创建人
  42. /// </summary>
  43. [SugarColumn(ColumnDescription = "创建人", Length = 64, ColumnName = "create_by")]
  44. public string CreateBy { get; set; }
  45. /// <summary>
  46. /// 修改人
  47. /// </summary>
  48. [SugarColumn(ColumnDescription = "修改人", Length = 64, ColumnName = "update_by")]
  49. public string UpdateBy { get; set; }
  50. /// <summary>
  51. /// 上传时间
  52. /// </summary>
  53. [SugarColumn(ColumnDescription = "上传时间", ColumnName = "create_time")]
  54. public DateTime? CreateTime { get; set; }
  55. /// <summary>
  56. /// 更新时间
  57. /// </summary>
  58. [SugarColumn(ColumnDescription = "更新时间", ColumnName = "update_time")]
  59. public DateTime? UpdateTime { get; set; }
  60. /// <summary>
  61. /// 删除标志
  62. /// </summary>
  63. [SugarColumn(ColumnDescription = "删除标志", Length = 1, ColumnName = "del_flag")]
  64. public string DelFlag { get; set; }
  65. }
  66. }