using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BookStore_DataAccess.model
{
    public partial class Author
    {
        public Author()
        {
            Books = new HashSet<Book>();
        }

        public int AuthorId { get; set; }

        public string AuthorName { get; set; }

        public string AuthorMail { get; set; }

        public int BookID { get; set; }

        public virtual Book Book { get; set; }

        public virtual ICollection<Book> Books { get; set; }
    }
}
