ExamOrgResultDownload.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using Furion.DatabaseAccessor;
  2. using Microsoft.EntityFrameworkCore;
  3. using System;
  4. using System.ComponentModel.DataAnnotations;
  5. using System.ComponentModel.DataAnnotations.Schema;
  6. namespace YBEE.EQM.Core;
  7. /// <summary>
  8. /// 结果下载记录
  9. /// </summary>
  10. public class ExamOrgResultDownload : IEntity
  11. {
  12. /// <summary>
  13. /// 主键
  14. /// </summary>
  15. [Comment("主键")]
  16. [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
  17. public int Id { get; set; }
  18. /// <summary>
  19. /// 结果文件ID
  20. /// </summary>
  21. [Comment("结果文件ID")]
  22. public int ExamOrgResultId { get; set; }
  23. /// <summary>
  24. /// 下载时间
  25. /// </summary>
  26. [Comment("下载时间")]
  27. public DateTime DownloadTime { get; set; }
  28. /// <summary>
  29. /// 下载人
  30. /// </summary>
  31. [Comment("下载人")]
  32. public int SysUserId { get; set; }
  33. /// <summary>
  34. /// 账户
  35. /// </summary>
  36. [Comment("账户")]
  37. [StringLength(50)]
  38. public string Account { get; set; }
  39. /// <summary>
  40. /// IP
  41. /// </summary>
  42. [Comment("IP")]
  43. [StringLength(20)]
  44. public string Ip { get; set; }
  45. }