|
|
@ -5,6 +5,8 @@ |
|
|
// All rights reserved. Licensed under the MIT license.
|
|
|
// All rights reserved. Licensed under the MIT license.
|
|
|
// ==========================================================================
|
|
|
// ==========================================================================
|
|
|
|
|
|
|
|
|
|
|
|
using System.ComponentModel.DataAnnotations; |
|
|
|
|
|
|
|
|
namespace Squidex.Areas.Api.Controllers.Plans.Models |
|
|
namespace Squidex.Areas.Api.Controllers.Plans.Models |
|
|
{ |
|
|
{ |
|
|
public sealed class PlanDto |
|
|
public sealed class PlanDto |
|
|
@ -12,18 +14,31 @@ namespace Squidex.Areas.Api.Controllers.Plans.Models |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// The id of the plan.
|
|
|
/// The id of the plan.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
|
|
|
[Required] |
|
|
public string Id { get; set; } |
|
|
public string Id { get; set; } |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// The name of the plan.
|
|
|
/// The name of the plan.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
|
|
|
[Required] |
|
|
public string Name { get; set; } |
|
|
public string Name { get; set; } |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// The monthly costs of the plan.
|
|
|
/// The monthly costs of the plan.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
|
|
|
[Required] |
|
|
public string Costs { get; set; } |
|
|
public string Costs { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The yearly costs of the plan.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string YearlyCosts { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The yearly id of the plan.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string YearlyId { get; set; } |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// The maximum number of API calls.
|
|
|
/// The maximum number of API calls.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
|