using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Aip.Service.Entities; [Table("TB_AIP_API_CALL_LOG")] public class TbAipApiCallLog { [Key] public string ApiEndPoint { get; set; } = string.Empty; public string ApiGuid { get; set; } = string.Empty; public string? IPAddress { get; set; } public DateTime RequestAt { get; set; } public DateTime ResponseAt { get; set; } public int ResponseStatusCode { get; set; } public int ResponseTime { get; set; } public int ErrorCode { get; set; } public string? ErrorMessage { get; set; } }