|
@@ -1,16 +1,18 @@
|
|
|
using AutoMapper;
|
|
|
using WingInterfaceLibrary.DTO.Device;
|
|
|
using WingInterfaceLibrary.DTO.User;
|
|
|
+using WingInterfaceLibrary.LiveConsultation;
|
|
|
|
|
|
namespace WingDeviceService
|
|
|
{
|
|
|
public class AutoMapperProfile : Profile
|
|
|
- {
|
|
|
- public AutoMapperProfile()
|
|
|
- {
|
|
|
+ {
|
|
|
+ public AutoMapperProfile()
|
|
|
+ {
|
|
|
CreateMap<UserDTO, UserPasswordDTO>().ReverseMap();
|
|
|
CreateMap<DeviceInfoDTO, CacheDeviceDTO>().ReverseMap();
|
|
|
- CreateMap<DeviceInfoDTO, DeviceExtendInfoDTO>().ReverseMap();
|
|
|
- }
|
|
|
+ CreateMap<DeviceInfoDTO, DeviceExtendInfoDTO>().ReverseMap();
|
|
|
+ CreateMap<VideoDeviceInfo, CacheVideoDeviceInfo>().ReverseMap();
|
|
|
+ }
|
|
|
}
|
|
|
}
|