using System;
using System.Collections.Generic;

namespace Database.Database;

public partial class Article
{
    public int Id { get; set; }

    public int? CategoryId { get; set; }

    public string Title { get; set; } = null!;

    public string Slug { get; set; } = null!;

    public string? Summary { get; set; }

    public string? Content { get; set; }

    public string? ThumbnailUrl { get; set; }

    public string? CoverImageUrl { get; set; }

    public string? MetaDescription { get; set; }

    public string? MetaKeywords { get; set; }

    public int? AuthorId { get; set; }

    public int? ViewCount { get; set; }

    public bool? IsFeatured { get; set; }

    public bool? IsPinned { get; set; }

    public bool? Status { get; set; }

    public DateTime? PublishedDate { get; set; }

    public string? Language { get; set; }

    public int? CreatedBy { get; set; }

    public DateTime? CreatedDate { get; set; }

    public DateTime? LastUpdate { get; set; }

    public int? UpdatedBy { get; set; }

    public string? TitleLo { get; set; }

    public string? TitleEn { get; set; }

    public string? SummaryLo { get; set; }

    public string? SummaryEn { get; set; }

    public string? ContentLo { get; set; }

    public string? ContentEn { get; set; }

    public string? MetaDescriptionLo { get; set; }

    public string? MetaDescriptionEn { get; set; }

    public virtual ArticleCategory? Category { get; set; }
}
