fast vergessen
This commit is contained in:
parent
7bdb85d842
commit
eba2ba64fc
1 changed files with 2 additions and 3 deletions
|
@ -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; }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue