using AutoMapper; using Microsoft.EntityFrameworkCore.Migrations.Operations; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AipGateway.API.Domain.Entities { public partial class LinkedApiKeyDto { public int Id { get; set; } public required int ServerId { get; set; } public string ApiKey { get; set; } public DateTime ExpiredAt { get; set; } public DateTime CreatedAt { get; set; } public bool UseYn { get; set; } public DateTime? DeletedAt { get; set; } public void Mapping(Profile profile) { profile.CreateMap(); profile.CreateMap(); } public override string ToString() { return "LinkedApiKeyDto{ Id: " + Id + ", ServerId: " + ServerId + ", ApiKey: " + ApiKey + ", ExpiredAt: " + ExpiredAt + ", CreatedAt: " + CreatedAt + "}"; } } }