fast vergessen

This commit is contained in:
David Renner 2020-06-02 14:24:26 +02:00
parent 7bdb85d842
commit eba2ba64fc

View file

@ -4,9 +4,8 @@ namespace BuecherwurmAPI.Models
{ {
public class Item public class Item
{ {
[Key] [Key, Required]
[Required] public int ItemId { get; set; }
public int Id { get; set; }
[Required] [Required]
public int BookId { get; set; } public int BookId { get; set; }
} }