TbAipApiCallLog.cs 633 B

123456789101112131415161718192021
  1. using System.ComponentModel.DataAnnotations;
  2. using System.ComponentModel.DataAnnotations.Schema;
  3. namespace Aip.Service.Entities;
  4. [Table("TB_AIP_API_CALL_LOG")]
  5. public class TbAipApiCallLog
  6. {
  7. [Key]
  8. public string ApiEndPoint { get; set; } = string.Empty;
  9. public string ApiGuid { get; set; } = string.Empty;
  10. public string? IPAddress { get; set; }
  11. public DateTime RequestAt { get; set; }
  12. public DateTime ResponseAt { get; set; }
  13. public int ResponseStatusCode { get; set; }
  14. public int ResponseTime { get; set; }
  15. public int ErrorCode { get; set; }
  16. public string? ErrorMessage { get; set; }
  17. }