astral-api/Astral.ApiServer/Models/Common/ResultModel.cs
2024-12-11 20:36:30 +00:00

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; }
}