You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
328 B
17 lines
328 B
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace MyLibraryEntities;
|
|
|
|
public class ContributorEntity
|
|
{
|
|
public string Id { get; set; }
|
|
public string Name { get; set; }
|
|
public string Role { get; set; }
|
|
|
|
[ForeignKey("BookId")]
|
|
public BookEntity Book { get; set; }
|
|
|
|
public string BookId { get; set; }
|
|
}
|
|
|