24 lines
526 B
C#
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; }
|
|
} |