Headless CMS and Content Managment Hub
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

33 lines
1.0 KiB

// ==========================================================================
// NumberField.cs
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex Group
// All rights reserved.
// ==========================================================================
namespace Squidex.Modules.Api.Schemas.Models.Fields
{
public class NumberField : FieldDto
{
/// <summary>
/// The default value for the field value.
/// </summary>
public double? DefaultValue { get; set; }
/// <summary>
/// The maximum allowed value for the field value.
/// </summary>
public double? MaxValue { get; set; }
/// <summary>
/// The minimum allowed value for the field value.
/// </summary>
public double? MinValue { get; set; }
/// <summary>
/// The allowed values for the field value.
/// </summary>
public double[] AllowedValues { get; set; }
}
}