public record BookRequest()
{
public long Id { get; set; } // Do I need it here? MSDN has it here
public string Name { get; set; }
public Genres Genres { get; set; }
public string BriefDescription { get; set; }
public string FullDescription { get; set; }
public DateTime OriginallyPublishedAt { get; set; } = new DateTime(1995, 11, 1);
public ICollection<long> AuthorIds { get; set; } = new HashSet<long>();
public ICollection<long> FileIds { get; set; } = new HashSet<long>();
}
public record BookRequest()
{
public long Id { get; set; } // Do I need it here? MSDN has it here
public string Name { get; set; }
public Genres Genres { get; set; }
public string BriefDescription { get; set; }
public string FullDescription { get; set; }
public DateTime OriginallyPublishedAt { get; set; } = new DateTime(1995, 11, 1);
public ICollection<long> AuthorIds { get; set; } = new HashSet<long>();
public ICollection<long> FileIds { get; set; } = new HashSet<long>();
}