using System.ComponentModel.DataAnnotations; using Newtonsoft.Json; namespace DBConnection.Models; public class Author : BaseEntity { [Key] public string Url { get; set; } public string Name { get; set; } [JsonIgnore] public List Novels { get; set; } }