BuecherwurmAPI/Models/Item.cs
2020-06-03 10:55:39 +02:00

16 lines
No EOL
318 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; }
}
}