This commit is contained in:
Dhananjaya99
2026-07-08 11:11:50 +05:30
parent 2cd2741f77
commit de7b40a147
51 changed files with 6839 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
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; }
}
}
+14
View File
@@ -0,0 +1,14 @@
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
namespace AuthHex.Models.IOs
{
[NotMapped]
public class ApiResponse
{
public int StatusCode { get; set; } = 200;
public bool Success { get; set; } = true;
public string? Message { get; set; }
public object? Data { get; set; }
}
}