Files
SPT-Server-Build/Core/Models/Eft/Common/Request/BaseInteractionRequestData.cs
T
2025-01-08 06:25:51 -05:00

24 lines
531 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; }
}