11
schangxiang@126.com
2025-05-19 a593dfae54de741b8ca84d375357c5ca130faccb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using AutoMapper; 
using CMS.Plugin.PipeLineLems.Application.Contracts.Dtos.WorkPlan; 
using CMS.Plugin.PipeLineLems.Domain.WorkPlan; 
using Volo.Abp.ObjectExtending; 
 
namespace CMS.Plugin.PipeLineLems.Application.MapperProfiles; 
 
/// <summary> 
/// 作业计划表AutoMapper配置 
/// </summary> 
/// <seealso cref="AutoMapper.Profile" /> 
public class MyWorkPlanAutoMapperProfile : Profile 
{
    /// <summary> 
    /// Initializes a new instance of the <see cref="MyWorkPlanAutoMapperProfile"/> class. 
    /// </summary> 
    public MyWorkPlanAutoMapperProfile() 
    { 
        /* You can configure your AutoMapper mapping configuration here. 
         * Alternatively, you can split your mapping configurations 
         * into multiple profile classes for a better organization. */ 
        CreateMap<WorkPlansImportModel.WorkPlanImportModel, WorkPlan>(MemberList.None);
        CreateMap<WorkPlansImportModel.WorkPlanImportModel, WorkPlanInput>(MemberList.None);
        CreateMap<WorkPlanInput, WorkPlanCreateDto>(MemberList.None);
    }