You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Verax_API_EF/Verax_API_EF/Verax_API_EF/Entities/ArticleEntity.cs

17 lines
491 B

using System.ComponentModel.DataAnnotations;
namespace Entities;
public class ArticleEntity
{
[Key]
public long Id { get; set; }
public string Title { get; set; } = string.Empty;
public string Description { get; set; } = string.Empty;
public string DatePublished { get; set; } = string.Empty;
public int LectureTime { get; set; }
public string Author { get; set; } = string.Empty;
public ICollection<UserEntity> Users { get; } = new List<UserEntity>();
}