24 lines
474 B
C#
24 lines
474 B
C#
using AutoMapper;
|
|
using CapMachine.Model;
|
|
using CapMachine.Wpf.Dtos;
|
|
using CapMachine.Wpf.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CapMachine.Wpf.MapperProfile
|
|
{
|
|
/// <summary>
|
|
/// 用户 的配置
|
|
/// </summary>
|
|
public class UserProfile:Profile
|
|
{
|
|
public UserProfile()
|
|
{
|
|
CreateMap<UserDto, User>().ReverseMap();
|
|
}
|
|
}
|
|
}
|