Guest User

MatchInfo.cs

a guest
May 27th, 2020
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.59 KB | None | 0 0
  1. using System.Collections.Generic;
  2. using System.ComponentModel.DataAnnotations;
  3.  
  4. namespace [redacted]
  5. {
  6.     public class MatchInfo
  7.     {
  8.         [Key] public int MatchId { get; set; }
  9.         public User StarterUser { get; set; }
  10.         [MaxLength(1)] public int IsAlive { get; set; }
  11.         public User CurrentTurnUser { get; set; }
  12.         public User WinnerUser { get; set; }
  13.         public int WinnerPoints { get; set; }
  14.         public int CurrentTurnNum { get; set; }
  15.         public List<Player> Players { get; set; }
  16.         [MaxLength(64)] public string RefToken { get; set; }
  17.     }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment