mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-10-11 08:18:49 -07:00
18 lines
387 B
C#
18 lines
387 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 string? Name { get; set; }
|
|
|
|
public virtual Viking? Viking { get; set; }
|
|
|
|
public virtual ICollection<RoomItem> Items { get; set; } = null!;
|
|
} |