Article.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. using System;
  2. using System.Collections.Generic;
  3. namespace Database.Database;
  4. public partial class Article
  5. {
  6. public int Id { get; set; }
  7. public int? CategoryId { get; set; }
  8. public string Title { get; set; } = null!;
  9. public string Slug { get; set; } = null!;
  10. public string? Summary { get; set; }
  11. public string? Content { get; set; }
  12. public string? ThumbnailUrl { get; set; }
  13. public string? CoverImageUrl { get; set; }
  14. public string? MetaDescription { get; set; }
  15. public string? MetaKeywords { get; set; }
  16. public int? AuthorId { get; set; }
  17. public int? ViewCount { get; set; }
  18. public bool? IsFeatured { get; set; }
  19. public bool? IsPinned { get; set; }
  20. public bool? Status { get; set; }
  21. public DateTime? PublishedDate { get; set; }
  22. public string? Language { get; set; }
  23. public int? CreatedBy { get; set; }
  24. public DateTime? CreatedDate { get; set; }
  25. public DateTime? LastUpdate { get; set; }
  26. public int? UpdatedBy { get; set; }
  27. public string? TitleLo { get; set; }
  28. public string? TitleEn { get; set; }
  29. public string? SummaryLo { get; set; }
  30. public string? SummaryEn { get; set; }
  31. public string? ContentLo { get; set; }
  32. public string? ContentEn { get; set; }
  33. public string? MetaDescriptionLo { get; set; }
  34. public string? MetaDescriptionEn { get; set; }
  35. public virtual ArticleCategory? Category { get; set; }
  36. }