BuecherwurmAPI/Models/Item.cs
2020-06-03 09:33:07 +02:00

17 lines
No EOL
323 B
C#

using System.ComponentModel.DataAnnotations;
namespace BuecherwurmAPI.Models
{
public class Item
{
[Key, Required]
public long ItemId { get; set; }
[Required]
public long BookId { get; set; }
}
public class ItemPost
{
public int BookId { get; set; }
}
}