Dialogs nullable

This commit is contained in:
Cj
2025-01-08 06:29:57 -05:00
parent c4b2f4b3db
commit ae882e9f7d
25 changed files with 120 additions and 119 deletions
+32 -32
View File
@@ -4,40 +4,40 @@ namespace Core.Models.Eft.Dialog;
public class ChatServer
{
[JsonPropertyName("_id")]
public string Id { get; set; }
[JsonPropertyName("RegistrationId")]
public int RegistrationId { get; set; }
[JsonPropertyName("VersionId")]
public string VersionId { get; set; }
[JsonPropertyName("Ip")]
public string Ip { get; set; }
[JsonPropertyName("Port")]
public int Port { get; set; }
[JsonPropertyName("DateTime")]
public long DateTime { get; set; }
[JsonPropertyName("Chats")]
public List<Chat> Chats { get; set; }
[JsonPropertyName("Regions")]
public List<string> Regions { get; set; }
/** Possibly removed */
[JsonPropertyName("IsDeveloper")]
public bool? IsDeveloper { get; set; }
[JsonPropertyName("_id")]
public string? Id { get; set; }
[JsonPropertyName("RegistrationId")]
public int? RegistrationId { get; set; }
[JsonPropertyName("VersionId")]
public string? VersionId { get; set; }
[JsonPropertyName("Ip")]
public string? Ip { get; set; }
[JsonPropertyName("Port")]
public int? Port { get; set; }
[JsonPropertyName("DateTime")]
public long? DateTime { get; set; }
[JsonPropertyName("Chats")]
public List<Chat>? Chats { get; set; }
[JsonPropertyName("Regions")]
public List<string>? Regions { get; set; }
/** Possibly removed */
[JsonPropertyName("IsDeveloper")]
public bool? IsDeveloper { get; set; }
}
public class Chat
{
[JsonPropertyName("_id")]
public string Id { get; set; }
[JsonPropertyName("Members")]
public int Members { get; set; }
[JsonPropertyName("_id")]
public string? Id { get; set; }
[JsonPropertyName("Members")]
public int? Members { get; set; }
}