using JsonRpcEndpointSample.Rpc.Abstractions;

namespace JsonRpcEndpointSample.Bank.Models;

public sealed class MakeDepositResponse
{
    [RpcSchemaProperty(Description = "Bank account number that received the deposit.", Required = true)]
    public string? AccountNumber
    {
        get; set;
    }

    [RpcSchemaProperty(Description = "Amount deposited.", Required = true)]
    public decimal DepositedAmount
    {
        get; set;
    }

    [RpcSchemaProperty(Description = "New account balance after the deposit.", Required = true)]
    public decimal NewBalance
    {
        get; set;
    }
}
