13 lines
No EOL
243 B
C#
13 lines
No EOL
243 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace BuecherwurmAPI.Models
|
|
{
|
|
public class Item
|
|
{
|
|
[Key, Required]
|
|
public int ItemId { get; set; }
|
|
[Required]
|
|
public int BookId { get; set; }
|
|
}
|
|
|
|
} |