19 lines
471 B
C#
19 lines
471 B
C#
// <copyright file="ResultModel.cs" company="alveus.dev">
|
|
// Copyright (c) alveus.dev. All rights reserved. Licensed under the MIT License.
|
|
// </copyright>
|
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace Astral.ApiServer.Models.Common;
|
|
|
|
/// <summary>
|
|
/// Generic result model.
|
|
/// </summary>
|
|
public class ResultModel
|
|
{
|
|
/// <summary>
|
|
/// Either "success" or "failure".
|
|
/// </summary>
|
|
[JsonPropertyName("status")]
|
|
public string Status { get; set; }
|
|
}
|