Files
2025-01-09 09:54:13 +01:00

24 lines
477 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Xml.Serialization;
namespace Server.Models;
[Table("Game")]
public class Game
{
[XmlIgnore]
[Key]
public int Id { get; set; }
[Required]
[Column("Title")]
public string Titel { get; set; }
[Required]
[Column("State")]
public Zustand Zustand { get; set; }
[Column("Comment")]
public string? Kommentar { get; set; }
}