2020-05-28 12:41:01 +00:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
namespace BuecherwurmAPI.Models
|
|
|
|
{
|
|
|
|
public class Item
|
|
|
|
{
|
2020-06-02 12:24:26 +00:00
|
|
|
[Key, Required]
|
2020-06-03 06:26:54 +00:00
|
|
|
public long ItemId { get; set; }
|
2020-05-28 12:41:01 +00:00
|
|
|
[Required]
|
2020-06-03 06:26:54 +00:00
|
|
|
public long BookId { get; set; }
|
2020-05-28 12:41:01 +00:00
|
|
|
}
|
2020-06-03 07:20:55 +00:00
|
|
|
public class ItemPost
|
|
|
|
{
|
|
|
|
public int BookId { get; set; }
|
|
|
|
}
|
2020-05-28 12:41:01 +00:00
|
|
|
}
|