增加订阅通知
This commit is contained in:
22
src/WMS.Web.Domain/Mappers/SubscribeNotificationMapper.cs
Normal file
22
src/WMS.Web.Domain/Mappers/SubscribeNotificationMapper.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using AutoMapper;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using WMS.Web.Core.Dto.SubscribeNotification;
|
||||
using WMS.Web.Domain.Entitys;
|
||||
|
||||
namespace WMS.Web.Domain.Mappers
|
||||
{
|
||||
/// <summary>
|
||||
/// 订阅通知
|
||||
/// </summary>
|
||||
public class SubscribeNotificationMapper : Profile
|
||||
{
|
||||
public SubscribeNotificationMapper()
|
||||
{
|
||||
CreateMap<SubscribeNotification, SubscribeNotification>();
|
||||
CreateMap<SaveSubscribeNotificationRequest, SubscribeNotification>();
|
||||
CreateMap<EditSubscribeNotificationRequest, SubscribeNotification>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user