move shared content to shared project

This commit is contained in:
rootdarkarchon
2022-08-22 11:21:28 +02:00
parent 927e1aaceb
commit 6c243d0247
40 changed files with 117 additions and 97 deletions

View File

@@ -0,0 +1,18 @@
using System.ComponentModel.DataAnnotations;
namespace MareSynchronosShared.Models
{
public class ClientPair
{
[MaxLength(10)]
public string UserUID { get; set; }
public User User { get; set; }
[MaxLength(10)]
public string OtherUserUID { get; set; }
public User OtherUser { get; set; }
public bool IsPaused { get; set; }
public bool AllowReceivingMessages { get; set; } = false;
[Timestamp]
public byte[] Timestamp { get; set; }
}
}