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 LinkedSystemDto
    {
        public int SystemId { get; set; }

        public string SystemName { get; set; }
        public DateTime CreatedAt { get; set; }
        public bool UseYn { get; set; }

        public string? SystemDesc { get; set; }
        public DateTime? DeletedAt { get; set; }

        public void Mapping(Profile profile)
        {
            profile.CreateMap<LinkedSystemDto, TbLinkedSystem>();
            profile.CreateMap<TbLinkedSystem, LinkedSystemDto>();
        }

        public override string ToString()
        {
            return "LinkedSystemDto{ SystemId: " + SystemId + ", SystemName: " + SystemName + ", CreatedAt: " + CreatedAt + "}";
        }
    }
}
