sys_upload.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using Microsoft.EntityFrameworkCore;
  2. using System.ComponentModel;
  3. using System.ComponentModel.DataAnnotations;
  4. using Volo.Abp.Domain.Entities;
  5. namespace Bussiness.Model.SystemData
  6. {
  7. /// <summary>
  8. /// 文件上传表
  9. /// </summary>
  10. [Comment("文件上传表")]
  11. public class sys_upload:Entity<long>
  12. {
  13. ///// <summary>
  14. ///// 主键id
  15. ///// </summary>
  16. //[Key]
  17. //[Comment("主键id")]
  18. //public long upload_id { get; set; }
  19. /// <summary>
  20. /// 文件存储路径
  21. /// </summary>
  22. [StringLength(255)]
  23. [Comment("文件存储路径")]
  24. public string? file_url { get; set; }
  25. /// <summary>
  26. /// 文件数据类型
  27. [StringLength(255)]
  28. [Comment("文件数据类型")]
  29. public string? data_type { get; set; }
  30. /// <summary>
  31. /// 文件后缀
  32. /// </summary>
  33. [StringLength(255)]
  34. [Comment("文件后缀")]
  35. public string? file_type { get; set; }
  36. /// <summary>
  37. /// 源文件名称
  38. [StringLength(255)]
  39. [Comment("源文件名称")]
  40. public string? original_file_name { get; set; }
  41. }
  42. }