RequestBase.cs 509 B

12345678910111213141516171819
  1. using System.ComponentModel.DataAnnotations;
  2. using System.Text.Json.Serialization;
  3. namespace AipGateway.API.Domain.Models.Request
  4. {
  5. public class RequestBase
  6. {
  7. [Required]
  8. public string apiKey { get; set; } = string.Empty;
  9. [Required]
  10. public string email { get; set; } = string.Empty;
  11. [JsonIgnore]
  12. public string apiGuid { get; set; } = string.Empty;
  13. [JsonIgnore]
  14. public string decryptKey { get; set; } = string.Empty;
  15. }
  16. }