Files
WebNovelPortal/DBConnection/Models/Novel.cs
littlefoot e6d6b629db
Some checks failed
continuous-integration/drone/push Build is failing
db changes and build pipeline
2022-07-15 12:21:37 -04:00

17 lines
502 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace DBConnection.Models;
public class Novel : BaseEntity
{
[Key]
public string Url { get; set; }
public Guid Guid { get; set; }
public string Title { get; set; }
public Author Author { get; set; }
public List<Tag> Tags { get; set; }
public List<Chapter> Chapters { get; set; }
public DateTime LastUpdated { get; set; }
public DateTime DatePosted { get; set; }
}