mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-10-11 08:18:49 -07:00
16 lines
348 B
C#
16 lines
348 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace sodoff.Model;
|
|
|
|
public class Room {
|
|
[Key]
|
|
public int Id { get; set; }
|
|
|
|
public string RoomId { get; set; }
|
|
|
|
public string VikingId { get; set; } = null!;
|
|
|
|
public virtual Viking? Viking { get; set; }
|
|
|
|
public virtual ICollection<RoomItem> Items { get; set; } = null!;
|
|
} |