добавление automap

This commit is contained in:
2025-03-12 17:28:10 +04:00
parent 7b15c9c56e
commit b9bb08da63
2 changed files with 8 additions and 2 deletions

View File

@@ -1,4 +1,6 @@
using System;
using AutoMapper;
using MagicCarpetContracts.DataModels;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
@@ -7,6 +9,7 @@ using System.Threading.Tasks;
namespace MagicCarpetDatabase.Models;
[AutoMap(typeof(EmployeeDataModel), ReverseMap = true)]
internal class Employee
{
public required string Id { get; set; }