Files
taxbaik/TaxBaik.Domain/Entities/BlogPost.cs
T
kjh2064 cb47349a25
TaxBaik CI/CD / build-and-deploy (push) Has been cancelled
feat(admin): stabilize blog and admin patterns
2026-07-02 10:46:27 +09:00

25 lines
869 B
C#

namespace TaxBaik.Domain.Entities;
public class BlogPost
{
public int Id { get; set; }
public string Title { get; set; } = null!;
public string Content { get; set; } = null!;
public string Slug { get; set; } = null!;
public int? CategoryId { get; set; }
public string? Tags { get; set; }
public int? AuthorId { get; set; }
public DateTime? PublishedAt { get; set; }
public int ViewCount { get; set; }
public string? SeoTitle { get; set; }
public string? SeoDescription { get; set; }
public string? ThumbnailUrl { get; set; }
public bool IsPublished { get; set; }
public DateTime CreatedAt { get; set; }
public DateTime UpdatedAt { get; set; }
public DateTime? DeletedAt { get; set; }
// Navigation property (populated via LEFT JOIN, not stored in DB)
public string? CategoryName { get; set; }
}