merged item und itempost
This commit is contained in:
parent
8ffc0609dc
commit
a8b1761867
2 changed files with 5 additions and 11 deletions
|
@ -9,5 +9,10 @@ namespace BuecherwurmAPI.Models
|
|||
[Required]
|
||||
public long BookId { get; set; }
|
||||
}
|
||||
public class ItemPost
|
||||
{
|
||||
[Required]
|
||||
public int BookId { get; set; }
|
||||
}
|
||||
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace BuecherwurmAPI.Models
|
||||
{
|
||||
public class ItemPost
|
||||
{
|
||||
[Required]
|
||||
public int BookId { get; set; }
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in a new issue