GoViewPro.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. namespace Admin.NET.Plugin.GoView.Entity;
  2. /// <summary>
  3. /// GoView 项目表
  4. /// </summary>
  5. [SugarTable(null, "GoView 项目表")]
  6. public class GoViewPro : EntityTenant
  7. {
  8. /// <summary>
  9. /// 项目名称
  10. /// </summary>
  11. [SugarColumn(ColumnDescription = "项目名称", Length = 64)]
  12. [Required, MaxLength(64)]
  13. public string ProjectName { get; set; }
  14. /// <summary>
  15. /// 项目状态
  16. /// </summary>
  17. [SugarColumn(ColumnDescription = "项目状态")]
  18. public GoViewProState State { get; set; } = GoViewProState.UnPublish;
  19. /// <summary>
  20. /// 预览图片Url
  21. /// </summary>
  22. [SugarColumn(ColumnDescription = "预览图片Url", Length = 1024)]
  23. [MaxLength(1024)]
  24. public string? IndexImage { get; set; }
  25. /// <summary>
  26. /// 项目备注
  27. /// </summary>
  28. [SugarColumn(ColumnDescription = "项目备注", Length = 512)]
  29. [MaxLength(512)]
  30. public string? Remarks { get; set; }
  31. ///// <summary>
  32. ///// 项目数据
  33. ///// </summary>
  34. //[SugarColumn(IsIgnore = true)]
  35. //[Navigate(NavigateType.OneToOne, nameof(Id))]
  36. //public GoViewProData GoViewProData { get; set; }
  37. }