BuecherwurmAPI/Models/Item.cs

13 lines
No EOL
245 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; }
}
}