|
|
|
|
using Mapster;
|
|
|
|
|
using Myshipping.Application.Entity;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Myshipping.Application
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class TrackingSystemMapper : IRegister
|
|
|
|
|
{
|
|
|
|
|
public void Register(TypeAdapterConfig config)
|
|
|
|
|
{
|
|
|
|
|
config.ForType<ServiceProjectBaseDto, ServiceProjectBaseInfo>()
|
|
|
|
|
.Map(dest => dest.PK_ID, src => src.PKId)
|
|
|
|
|
.Map(dest => dest.SERVICE_PROJECT_CODE, src => src.ServiceProjectCode)
|
|
|
|
|
.Map(dest => dest.SERVICE_PROJECT_NAME, src => src.ServiceProjectName)
|
|
|
|
|
.Map(dest => dest.SORT_NO, src => src.SortNo)
|
|
|
|
|
.Map(dest => dest.SERVICE_PROJECT_NOTE, src => src.ServiceProjectNote);
|
|
|
|
|
|
|
|
|
|
config.ForType<ServiceProjectBaseInfo, ServiceProjectBaseDto>()
|
|
|
|
|
.Map(dest => dest.PKId, src => src.PK_ID)
|
|
|
|
|
.Map(dest => dest.ServiceProjectCode, src => src.SERVICE_PROJECT_CODE)
|
|
|
|
|
.Map(dest => dest.ServiceProjectName, src => src.SERVICE_PROJECT_NAME)
|
|
|
|
|
.Map(dest => dest.SortNo, src => src.SORT_NO);
|
|
|
|
|
|
|
|
|
|
config.ForType<ServiceProjectBaseInfo, ServiceProjectBaseShowDto>()
|
|
|
|
|
.Map(dest => dest.PKId, src => src.PK_ID)
|
|
|
|
|
.Map(dest => dest.ServiceProjectCode, src => src.SERVICE_PROJECT_CODE)
|
|
|
|
|
.Map(dest => dest.ServiceProjectName, src => src.SERVICE_PROJECT_NAME)
|
|
|
|
|
.Map(dest => dest.SortNo, src => src.SORT_NO)
|
|
|
|
|
.Map(dest => dest.CreatedTime, src => src.CreatedTime)
|
|
|
|
|
.Map(dest => dest.UpdatedTime, src => src.UpdatedTime)
|
|
|
|
|
.Map(dest => dest.CreatedUserId, src => src.CreatedUserId)
|
|
|
|
|
.Map(dest => dest.CreatedUserName, src => src.CreatedUserName)
|
|
|
|
|
.Map(dest => dest.UpdatedUserId, src => src.UpdatedUserId)
|
|
|
|
|
.Map(dest => dest.UpdatedUserName, src => src.UpdatedUserName)
|
|
|
|
|
.Map(dest => dest.IsEnable, src => src.IS_ENABLE)
|
|
|
|
|
.Map(dest => dest.ServiceProjectNote, src => src.SERVICE_PROJECT_NOTE);
|
|
|
|
|
|
|
|
|
|
config.ForType<ServiceProjectBaseInfo, ServiceProjectBasePageDto>()
|
|
|
|
|
.Map(dest => dest.PKId, src => src.PK_ID)
|
|
|
|
|
.Map(dest => dest.ServiceProjectCode, src => src.SERVICE_PROJECT_CODE)
|
|
|
|
|
.Map(dest => dest.ServiceProjectName, src => src.SERVICE_PROJECT_NAME)
|
|
|
|
|
.Map(dest => dest.SortNo, src => src.SORT_NO)
|
|
|
|
|
.Map(dest => dest.CreatedTime, src => src.CreatedTime)
|
|
|
|
|
.Map(dest => dest.UpdatedTime, src => src.UpdatedTime)
|
|
|
|
|
.Map(dest => dest.CreatedUserId, src => src.CreatedUserId)
|
|
|
|
|
.Map(dest => dest.CreatedUserName, src => src.CreatedUserName)
|
|
|
|
|
.Map(dest => dest.UpdatedUserId, src => src.UpdatedUserId)
|
|
|
|
|
.Map(dest => dest.UpdatedUserName, src => src.UpdatedUserName)
|
|
|
|
|
.Map(dest => dest.IsEnable, src => src.IS_ENABLE)
|
|
|
|
|
.Map(dest => dest.ServiceProjectNote, src => src.SERVICE_PROJECT_NOTE);
|
|
|
|
|
|
|
|
|
|
config.ForType<StatusSkuBaseDto, StatusSkuBaseInfo>()
|
|
|
|
|
.Map(dest => dest.PK_ID, src => src.PKId)
|
|
|
|
|
.Map(dest => dest.STATUS_SKU_CODE, src => src.StatusSKUCode)
|
|
|
|
|
.Map(dest => dest.STATUS_SKU_NAME, src => src.StatusSKUName)
|
|
|
|
|
.Map(dest => dest.SORT_NO, src => src.SortNo)
|
|
|
|
|
.Map(dest => dest.STATUS_SKU_NOTE, src => src.StatusSKUNote)
|
|
|
|
|
.Map(dest => dest.BACKGROUND_COLOR, src => src.BackgroundColor);
|
|
|
|
|
|
|
|
|
|
config.ForType<StatusSkuBaseInfo, StatusSkuBaseDto>()
|
|
|
|
|
.Map(dest => dest.PKId, src => src.PK_ID)
|
|
|
|
|
.Map(dest => dest.StatusSKUCode, src => src.STATUS_SKU_CODE)
|
|
|
|
|
.Map(dest => dest.StatusSKUName, src => src.STATUS_SKU_NAME)
|
|
|
|
|
.Map(dest => dest.SortNo, src => src.SORT_NO);
|
|
|
|
|
|
|
|
|
|
config.ForType<StatusSkuBaseInfo, ServiceProjectStatusDto>()
|
|
|
|
|
.Map(dest => dest.SkuPKId, src => src.PK_ID)
|
|
|
|
|
.Map(dest => dest.StatusSKUCode, src => src.STATUS_SKU_CODE)
|
|
|
|
|
.Map(dest => dest.StatusSKUName, src => src.STATUS_SKU_NAME)
|
|
|
|
|
.Map(dest => dest.SortNo, src => src.SORT_NO)
|
|
|
|
|
.Map(dest => dest.BackgroundColor, src => src.BACKGROUND_COLOR);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
config.ForType<StatusSkuBaseInfo, StatusSkuBaseShowDto>()
|
|
|
|
|
.Map(dest => dest.PKId, src => src.PK_ID)
|
|
|
|
|
.Map(dest => dest.StatusSKUCode, src => src.STATUS_SKU_CODE)
|
|
|
|
|
.Map(dest => dest.StatusSKUName, src => src.STATUS_SKU_NAME)
|
|
|
|
|
.Map(dest => dest.SortNo, src => src.SORT_NO)
|
|
|
|
|
.Map(dest => dest.IsEnable, src => src.IS_ENABLE)
|
|
|
|
|
.Map(dest => dest.CreatedTime, src => src.CreatedTime)
|
|
|
|
|
.Map(dest => dest.UpdatedTime, src => src.UpdatedTime)
|
|
|
|
|
.Map(dest => dest.CreatedUserId, src => src.CreatedUserId)
|
|
|
|
|
.Map(dest => dest.CreatedUserName, src => src.CreatedUserName)
|
|
|
|
|
.Map(dest => dest.UpdatedUserId, src => src.UpdatedUserId)
|
|
|
|
|
.Map(dest => dest.UpdatedUserName, src => src.UpdatedUserName)
|
|
|
|
|
.Map(dest => dest.StatusSKUNote, src => src.STATUS_SKU_NOTE)
|
|
|
|
|
.Map(dest => dest.IsEnable, src => src.IS_ENABLE)
|
|
|
|
|
.Map(dest => dest.BackgroundColor, src => src.BACKGROUND_COLOR);
|
|
|
|
|
|
|
|
|
|
config.ForType<StatusSkuBaseInfo, StatusSkuBasePageDto>()
|
|
|
|
|
.Map(dest => dest.PKId, src => src.PK_ID)
|
|
|
|
|
.Map(dest => dest.StatusSKUCode, src => src.STATUS_SKU_CODE)
|
|
|
|
|
.Map(dest => dest.StatusSKUName, src => src.STATUS_SKU_NAME)
|
|
|
|
|
.Map(dest => dest.SortNo, src => src.SORT_NO)
|
|
|
|
|
.Map(dest => dest.CreatedTime, src => src.CreatedTime)
|
|
|
|
|
.Map(dest => dest.UpdatedTime, src => src.UpdatedTime)
|
|
|
|
|
.Map(dest => dest.CreatedUserId, src => src.CreatedUserId)
|
|
|
|
|
.Map(dest => dest.CreatedUserName, src => src.CreatedUserName)
|
|
|
|
|
.Map(dest => dest.UpdatedUserId, src => src.UpdatedUserId)
|
|
|
|
|
.Map(dest => dest.UpdatedUserName, src => src.UpdatedUserName)
|
|
|
|
|
.Map(dest => dest.StatusSKUNote, src => src.STATUS_SKU_NOTE)
|
|
|
|
|
.Map(dest => dest.IsEnable, src => src.IS_ENABLE)
|
|
|
|
|
.Map(dest => dest.BackgroundColor, src => src.BACKGROUND_COLOR);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
config.ForType<ServiceWorkFlowBaseDto, ServiceWorkFlowBaseInfo>()
|
|
|
|
|
.Map(dest => dest.PK_ID, src => src.PKId)
|
|
|
|
|
.Map(dest => dest.SERVICE_WORKFLOW_CODE, src => src.ServiceWorkflowCode)
|
|
|
|
|
.Map(dest => dest.SERVICE_WORKFLOW_NAME, src => src.ServiceWorkflowName)
|
|
|
|
|
.Map(dest => dest.SERVICE_WORKFLOW_NOTE, src => src.ServiceWorkflowNote)
|
|
|
|
|
.Map(dest => dest.BELONG_TENANT_ID, src => src.BelongTenantId)
|
|
|
|
|
.Map(dest => dest.BELONG_TENANT_NAME, src => src.BelongTenantName);
|
|
|
|
|
|
|
|
|
|
config.ForType<ServiceWorkFlowBaseInfo, ServiceWorkFlowBaseDto>()
|
|
|
|
|
.Map(dest => dest.PKId, src => src.PK_ID)
|
|
|
|
|
.Map(dest => dest.ServiceWorkflowCode, src => src.SERVICE_WORKFLOW_CODE)
|
|
|
|
|
.Map(dest => dest.ServiceWorkflowName, src => src.SERVICE_WORKFLOW_NAME)
|
|
|
|
|
.Map(dest => dest.ServiceWorkflowNote, src => src.SERVICE_WORKFLOW_NOTE)
|
|
|
|
|
.Map(dest => dest.BelongTenantId, src => src.BELONG_TENANT_ID)
|
|
|
|
|
.Map(dest => dest.BelongTenantName, src => src.BELONG_TENANT_NAME);
|
|
|
|
|
|
|
|
|
|
config.ForType<ServiceWorkFlowBaseInfo, ServiceWorkFlowBaseShowDto>()
|
|
|
|
|
.Map(dest => dest.PKId, src => src.PK_ID)
|
|
|
|
|
.Map(dest => dest.ServiceWorkflowCode, src => src.SERVICE_WORKFLOW_CODE)
|
|
|
|
|
.Map(dest => dest.ServiceWorkflowName, src => src.SERVICE_WORKFLOW_NAME)
|
|
|
|
|
.Map(dest => dest.ServiceWorkflowNote, src => src.SERVICE_WORKFLOW_NOTE)
|
|
|
|
|
.Map(dest => dest.CreatedTime, src => src.CreatedTime)
|
|
|
|
|
.Map(dest => dest.UpdatedTime, src => src.UpdatedTime)
|
|
|
|
|
.Map(dest => dest.CreatedUserId, src => src.CreatedUserId)
|
|
|
|
|
.Map(dest => dest.CreatedUserName, src => src.CreatedUserName)
|
|
|
|
|
.Map(dest => dest.UpdatedUserId, src => src.UpdatedUserId)
|
|
|
|
|
.Map(dest => dest.UpdatedUserName, src => src.UpdatedUserName)
|
|
|
|
|
.Map(dest => dest.ReleaseVersion, src => src.RELEASE_VERSION)
|
|
|
|
|
.Map(dest => dest.DevelopVersion, src => src.DEVELOP_VERSION)
|
|
|
|
|
.Map(dest => dest.IsEnable, src => src.IS_ENABLE)
|
|
|
|
|
.Map(dest => dest.BelongTenantId, src => src.BELONG_TENANT_ID)
|
|
|
|
|
.Map(dest => dest.BelongTenantName, src => src.BELONG_TENANT_NAME)
|
|
|
|
|
.Map(dest => dest.StatusNum, src => src.STATUS_NUM)
|
|
|
|
|
.Map(dest => dest.PublishEr, src => src.PUBLISH_ER)
|
|
|
|
|
.Map(dest => dest.PublishName, src => src.PUBLISH_NAME)
|
|
|
|
|
.Map(dest => dest.PublishDate, src => src.PUBLISH_DATE)
|
|
|
|
|
.Map(dest => dest.IsLock, src => src.IS_LOCK);
|
|
|
|
|
|
|
|
|
|
config.ForType<ServiceWorkFlowBaseInfo, ServiceWorkFlowBasePageDto>()
|
|
|
|
|
.Map(dest => dest.PKId, src => src.PK_ID)
|
|
|
|
|
.Map(dest => dest.ServiceWorkflowCode, src => src.SERVICE_WORKFLOW_CODE)
|
|
|
|
|
.Map(dest => dest.ServiceWorkflowName, src => src.SERVICE_WORKFLOW_NAME)
|
|
|
|
|
.Map(dest => dest.ServiceWorkflowNote, src => src.SERVICE_WORKFLOW_NOTE)
|
|
|
|
|
.Map(dest => dest.CreatedTime, src => src.CreatedTime)
|
|
|
|
|
.Map(dest => dest.UpdatedTime, src => src.UpdatedTime)
|
|
|
|
|
.Map(dest => dest.CreatedUserId, src => src.CreatedUserId)
|
|
|
|
|
.Map(dest => dest.CreatedUserName, src => src.CreatedUserName)
|
|
|
|
|
.Map(dest => dest.UpdatedUserId, src => src.UpdatedUserId)
|
|
|
|
|
.Map(dest => dest.UpdatedUserName, src => src.UpdatedUserName)
|
|
|
|
|
.Map(dest => dest.ReleaseVersion, src => src.RELEASE_VERSION)
|
|
|
|
|
.Map(dest => dest.DevelopVersion, src => src.DEVELOP_VERSION)
|
|
|
|
|
.Map(dest => dest.IsEnable, src => src.IS_ENABLE)
|
|
|
|
|
.Map(dest => dest.BelongTenantId, src => src.BELONG_TENANT_ID)
|
|
|
|
|
.Map(dest => dest.BelongTenantName, src => src.BELONG_TENANT_NAME)
|
|
|
|
|
.Map(dest => dest.StatusNum, src => src.STATUS_NUM)
|
|
|
|
|
.Map(dest => dest.PublishEr, src => src.PUBLISH_ER)
|
|
|
|
|
.Map(dest => dest.PublishName, src => src.PUBLISH_NAME)
|
|
|
|
|
.Map(dest => dest.PublishDate, src => src.PUBLISH_DATE)
|
|
|
|
|
.Map(dest => dest.IsLock, src => src.IS_LOCK);
|
|
|
|
|
|
|
|
|
|
config.ForType<ServiceWorkFlowActivitiesDto, ServiceWorkFlowActivitiesInfo>()
|
|
|
|
|
.Map(dest => dest.PK_ID, src => src.PKId)
|
|
|
|
|
.Map(dest => dest.STATUS_SKU_ID, src => src.StatusSKUId)
|
|
|
|
|
.Map(dest => dest.SHOW_NAME, src => src.ShowName);
|
|
|
|
|
|
|
|
|
|
config.ForType<ServiceWorkFlowActivitiesInfo, ServiceWorkFlowActivitiesShowDto>()
|
|
|
|
|
.Map(dest => dest.PKId, src => src.PK_ID)
|
|
|
|
|
.Map(dest => dest.StatusSKUId, src => src.STATUS_SKU_ID)
|
|
|
|
|
.Map(dest => dest.ShowName, src => src.SHOW_NAME);
|
|
|
|
|
|
|
|
|
|
config.ForType<ServiceWorkFlowActivitiesInfo, ServiceWorkFlowActivitiesSubShowDto>()
|
|
|
|
|
.Map(dest => dest.PKId, src => src.PK_ID)
|
|
|
|
|
.Map(dest => dest.StatusSKUId, src => src.STATUS_SKU_ID)
|
|
|
|
|
.Map(dest => dest.ShowName, src => src.SHOW_NAME);
|
|
|
|
|
|
|
|
|
|
config.ForType<ServiceWorkFlowActivitiesInfo, ServiceWorkFlowActivitiesDto>()
|
|
|
|
|
.Map(dest => dest.PKId, src => src.PK_ID)
|
|
|
|
|
.Map(dest => dest.StatusSKUId, src => src.STATUS_SKU_ID)
|
|
|
|
|
.Map(dest => dest.ShowName, src => src.SHOW_NAME);
|
|
|
|
|
|
|
|
|
|
config.ForType<StatusTriggerBaseDto, StatusTriggerBaseInfo>()
|
|
|
|
|
.Map(dest => dest.PK_ID, src => src.PKId)
|
|
|
|
|
.Map(dest => dest.STATUS_TRIGGER_CODE, src => src.StatusTriggerCode)
|
|
|
|
|
.Map(dest => dest.STATUS_TRIGGER_NAME, src => src.StatusTriggerName)
|
|
|
|
|
.Map(dest => dest.STATUS_TRIGGER_NOTE, src => src.StatusTriggerNote);
|
|
|
|
|
|
|
|
|
|
config.ForType<StatusTriggerBaseInfo, StatusTriggerBaseDto>()
|
|
|
|
|
.Map(dest => dest.PKId, src => src.PK_ID)
|
|
|
|
|
.Map(dest => dest.StatusTriggerCode, src => src.STATUS_TRIGGER_CODE)
|
|
|
|
|
.Map(dest => dest.StatusTriggerName, src => src.STATUS_TRIGGER_NAME);
|
|
|
|
|
|
|
|
|
|
config.ForType<StatusTriggerBaseInfo, StatusTriggerBaseShowDto>()
|
|
|
|
|
.Map(dest => dest.PKId, src => src.PK_ID)
|
|
|
|
|
.Map(dest => dest.StatusTriggerCode, src => src.STATUS_TRIGGER_CODE)
|
|
|
|
|
.Map(dest => dest.StatusTriggerName, src => src.STATUS_TRIGGER_NAME)
|
|
|
|
|
.Map(dest => dest.CreatedTime, src => src.CreatedTime)
|
|
|
|
|
.Map(dest => dest.UpdatedTime, src => src.UpdatedTime)
|
|
|
|
|
.Map(dest => dest.CreatedUserId, src => src.CreatedUserId)
|
|
|
|
|
.Map(dest => dest.CreatedUserName, src => src.CreatedUserName)
|
|
|
|
|
.Map(dest => dest.UpdatedUserId, src => src.UpdatedUserId)
|
|
|
|
|
.Map(dest => dest.UpdatedUserName, src => src.UpdatedUserName)
|
|
|
|
|
.Map(dest => dest.IsEnable, src => src.IS_ENABLE);
|
|
|
|
|
|
|
|
|
|
config.ForType<StatusTriggerBaseInfo, StatusTriggerBasePageDto>()
|
|
|
|
|
.Map(dest => dest.PKId, src => src.PK_ID)
|
|
|
|
|
.Map(dest => dest.StatusTriggerCode, src => src.STATUS_TRIGGER_CODE)
|
|
|
|
|
.Map(dest => dest.StatusTriggerName, src => src.STATUS_TRIGGER_NAME)
|
|
|
|
|
.Map(dest => dest.CreatedTime, src => src.CreatedTime)
|
|
|
|
|
.Map(dest => dest.UpdatedTime, src => src.UpdatedTime)
|
|
|
|
|
.Map(dest => dest.CreatedUserId, src => src.CreatedUserId)
|
|
|
|
|
.Map(dest => dest.CreatedUserName, src => src.CreatedUserName)
|
|
|
|
|
.Map(dest => dest.UpdatedUserId, src => src.UpdatedUserId)
|
|
|
|
|
.Map(dest => dest.UpdatedUserName, src => src.UpdatedUserName)
|
|
|
|
|
.Map(dest => dest.IsEnable, src => src.IS_ENABLE);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
config.ForType<StatusTriggerConditionDto, StatusTriggerConditionInfo>()
|
|
|
|
|
.Map(dest => dest.PK_ID, src => src.PKId)
|
|
|
|
|
.Map(dest => dest.SERVICE_ACTIVITIES_ID, src => src.ServiceActivitiesID)
|
|
|
|
|
.Map(dest => dest.SHOW_NAME, src => src.ShowName)
|
|
|
|
|
.Map(dest => dest.OPER_TYPE, src => src.OperType)
|
|
|
|
|
.Map(dest => dest.OPER_TYPE_NAME, src => src.OperTypeName)
|
|
|
|
|
.Map(dest => dest.OPER_TYPE_VAL, src => src.OperTypeVal)
|
|
|
|
|
.Map(dest => dest.NEXT_ACTION_TYPE, src => src.NextActionType)
|
|
|
|
|
.Map(dest => dest.NEXT_ACTION_TYPE_NAME, src => src.NextActionTypeName)
|
|
|
|
|
.Map(dest => dest.LIQUID_EXPRESSION, src => src.LiquidExpression);
|
|
|
|
|
|
|
|
|
|
config.ForType<StatusTriggerConditionInfo, StatusTriggerConditionDto>()
|
|
|
|
|
.Map(dest => dest.PKId, src => src.PK_ID)
|
|
|
|
|
.Map(dest => dest.ServiceActivitiesID, src => src.SERVICE_ACTIVITIES_ID)
|
|
|
|
|
.Map(dest => dest.ShowName, src => src.SHOW_NAME)
|
|
|
|
|
.Map(dest => dest.OperType, src => src.OPER_TYPE)
|
|
|
|
|
.Map(dest => dest.OperTypeName, src => src.OPER_TYPE_NAME)
|
|
|
|
|
.Map(dest => dest.OperTypeVal, src => src.OPER_TYPE_VAL)
|
|
|
|
|
.Map(dest => dest.NextActionType, src => src.NEXT_ACTION_TYPE)
|
|
|
|
|
.Map(dest => dest.NextActionTypeName, src => src.NEXT_ACTION_TYPE_NAME)
|
|
|
|
|
.Map(dest => dest.LiquidExpression, src => src.LIQUID_EXPRESSION);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
config.ForType<StatusTriggerConditionInfo, StatusTriggerConditionShowDto>()
|
|
|
|
|
.Map(dest => dest.PKId, src => src.PK_ID)
|
|
|
|
|
.Map(dest => dest.ServiceActivitiesID, src => src.SERVICE_ACTIVITIES_ID)
|
|
|
|
|
.Map(dest => dest.ShowName, src => src.SHOW_NAME)
|
|
|
|
|
.Map(dest => dest.OperType, src => src.OPER_TYPE)
|
|
|
|
|
.Map(dest => dest.OperTypeName, src => src.OPER_TYPE_NAME)
|
|
|
|
|
.Map(dest => dest.OperTypeVal, src => src.OPER_TYPE_VAL)
|
|
|
|
|
.Map(dest => dest.NextActionType, src => src.NEXT_ACTION_TYPE)
|
|
|
|
|
.Map(dest => dest.NextActionTypeName, src => src.NEXT_ACTION_TYPE_NAME)
|
|
|
|
|
.Map(dest => dest.LiquidExpression, src => src.LIQUID_EXPRESSION)
|
|
|
|
|
.Map(dest => dest.CreatedTime, src => src.CreatedTime)
|
|
|
|
|
.Map(dest => dest.UpdatedTime, src => src.UpdatedTime)
|
|
|
|
|
.Map(dest => dest.CreatedUserId, src => src.CreatedUserId)
|
|
|
|
|
.Map(dest => dest.CreatedUserName, src => src.CreatedUserName)
|
|
|
|
|
.Map(dest => dest.UpdatedUserId, src => src.UpdatedUserId)
|
|
|
|
|
.Map(dest => dest.UpdatedUserName, src => src.UpdatedUserName);
|
|
|
|
|
|
|
|
|
|
config.ForType<StatusTriggerConditionNextActInfo, StatusTriggerConditionNextActDto>()
|
|
|
|
|
.Map(dest => dest.PKId, src => src.PK_ID)
|
|
|
|
|
.Map(dest => dest.TriggerId, src => src.TRIGGER_ID)
|
|
|
|
|
.Map(dest => dest.ConditionId, src => src.CONDITION_ID)
|
|
|
|
|
.Map(dest => dest.ServiceActivitiesID, src => src.SERVICE_ACTIVITIES_ID)
|
|
|
|
|
.Map(dest => dest.ShowName, src => src.SHOW_NAME);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
config.ForType<StatusTriggerConditionNextActDto,StatusTriggerConditionNextActInfo>()
|
|
|
|
|
.Map(dest => dest.PK_ID ,src => src.PKId)
|
|
|
|
|
.Map(dest => dest.TRIGGER_ID, src => src.TriggerId)
|
|
|
|
|
.Map(dest => dest.CONDITION_ID, src => src.ConditionId)
|
|
|
|
|
.Map(dest => dest.SERVICE_ACTIVITIES_ID, src => src.ServiceActivitiesID)
|
|
|
|
|
.Map(dest => dest.SHOW_NAME, src => src.ShowName);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|