18 lines
480 B
C#
18 lines
480 B
C#
using Portfolio.Domain.Features.Abstractions;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Portfolio.Domain.Features.Articles
|
|
{
|
|
public class Article : Entity
|
|
{
|
|
public required string Title { get; set; }
|
|
public string? Content { get; set; }
|
|
public DateTime DatePublished { get; set; } = DateTime.Now;
|
|
public bool IsPublished { get; set; } = false;
|
|
}
|
|
}
|