040be2feaa
Convert constructors into primary constructors Simplified logic with use of ??, ??= and method groups Cleaned up redundant conditional access qualifiers
27 lines
722 B
C#
27 lines
722 B
C#
using System.Text.Json.Serialization;
|
|
using SPTarkov.Server.Core.Models.Common;
|
|
using SPTarkov.Server.Core.Models.Utils;
|
|
|
|
namespace SPTarkov.Server.Core.Models.Eft.Profile;
|
|
|
|
public record ProfileCreateRequestData : IRequestData
|
|
{
|
|
[JsonExtensionData]
|
|
public Dictionary<string, object>? ExtensionData { get; set; }
|
|
|
|
[JsonPropertyName("side")]
|
|
public string? Side { get; set; }
|
|
|
|
[JsonPropertyName("nickname")]
|
|
public string? Nickname { get; set; }
|
|
|
|
[JsonPropertyName("headId")]
|
|
public MongoId HeadId { get; set; }
|
|
|
|
[JsonPropertyName("voiceId")]
|
|
public MongoId VoiceId { get; set; }
|
|
|
|
[JsonPropertyName("sptForcePrestigeLevel")]
|
|
public int? SptForcePrestigeLevel { get; set; }
|
|
}
|