Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.ComponentModel.DataAnnotations;
- namespace CoreAPI.Models
- {
- public class Author
- {
- [Key]
- public int AuthorID { get; set; }
- [MaxLength(200)]
- public string Name { get; set; }
- public virtual ICollection<Book> Book { get; set; }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement