using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
using eSuite.Core.Miscellaneous;
namespace eSuite.API.Models;
///
/// Details needed in order to issue one or more sequence numbers.
///
public class SequenceIssueRequest
{
///
/// Please supply the ID and/or the GUID (either or both is ok)
///
[JsonPropertyName("generalIdRef")]
[Required]
public GeneralIdRef GeneralIdRef { get; set; } = new GeneralIdRef();
///
/// number of sequence numbers to issue on this call. null will be assumed to be 1.
///
[JsonPropertyName("count")]
[DefaultValue(1)]
public int Count { get; set; } = 1;
}