18 lines
421 B
C#
18 lines
421 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace AuthHex.Models.IOs
|
|
{
|
|
[NotMapped]
|
|
public class ApiRequest
|
|
{
|
|
[Required]
|
|
public string FunctionName { get; set; } = string.Empty;
|
|
|
|
public object Payload { get; set; } = new();
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
public string? Reference { get; set; }
|
|
}
|
|
}
|