// <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated>
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

#nullable disable

namespace Biblioteca.Datos.Contexto.Repositorio
{
    public partial class Autores
    {
        public Autores()
        {
            Libros = new HashSet<Libros>();
        }

        [Key]
        public int IdAutor { get; set; }
        [StringLength(50)]
        public string Nombre { get; set; }

        [InverseProperty("IdAutorNavigation")]
        public virtual ICollection<Libros> Libros { get; set; }
    }
}