2020-05-28 08:31:04 +00:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
namespace BuecherwurmAPI.Models
|
|
|
|
{
|
2020-05-28 08:38:21 +00:00
|
|
|
public class Item
|
2020-05-28 08:31:04 +00:00
|
|
|
{
|
|
|
|
[Key]
|
|
|
|
[Required]
|
2020-05-28 08:38:21 +00:00
|
|
|
public int Id { get; set; }
|
2020-05-28 08:31:04 +00:00
|
|
|
[Required]
|
2020-05-28 08:38:21 +00:00
|
|
|
public int BookId { get; set; }
|
2020-05-28 08:31:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|