Files
SPT-Server-Build/Core/Models/Eft/Common/Request/BaseInteractionRequestData.cs
T
2025-01-06 19:26:52 +00:00

24 lines
526 B
C#

using System.Text.Json.Serialization;
namespace Core.Models.Eft.Common.Request;
public class BaseInteractionRequestData
{
[JsonPropertyName("Action")]
public virtual string Action { get; set; }
[JsonPropertyName("fromOwner")]
public OwnerInfo FromOwner { get; set; }
[JsonPropertyName("toOwner")]
public OwnerInfo ToOwner { get; set; }
}
public class OwnerInfo
{
[JsonPropertyName("id")]
public string Id { get; set; }
[JsonPropertyName("type")]
public string Type { get; set; }
}