14 lines
248 B
C#
14 lines
248 B
C#
|
using System.ComponentModel.DataAnnotations;
|
||
|
|
||
|
namespace BuecherwurmAPI.Models
|
||
|
{
|
||
|
public class Item
|
||
|
{
|
||
|
[Key]
|
||
|
[Required]
|
||
|
public int Id { get; set; }
|
||
|
[Required]
|
||
|
public int BookId { get; set; }
|
||
|
}
|
||
|
|
||
|
}
|