RequestBase.cs 446 B

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