/**
#                                                    __----~~~~~~~~~~~------___
#                                   .  .   ~~//====......          __--~ ~~
#                   -.            \_|//     |||\\  ~~~~~~::::... /~
#                ___-==_       _-~o~  \/    |||  \\            _/~~-
#        __---~~~.==~||\=_    -_--~/_-~|-   |\\   \\        _/~
#    _-~~     .=~    |  \\-_    '-~7  /-   /  ||    \      /
#  .~       .~       |   \\ -_    /  /-   /   ||      \   /
# /  ____  /         |     \\ ~-_/  /|- _/   .||       \ /
# |~~    ~~|--~~~~--_ \     ~==-/   | \~--===~~        .\
#          '         ~-|      /|    |-~\~~       __--~~
#                      |-~~-_/ |    |   ~\_   _-~            /\
#                           /  \     \__   \/~                \__
#                       _--~ _/ | .-~~____--~-/                  ~~==.
#                      ((->/~   '.|||' -_|    ~~-/ ,              . _||
#                                 -_     ~\      ~~---l__i__i__i--~~_/
#                                 _-~-__   ~)  \--______________--~~
#                               //.-~~~-~_--~- |-------~~~~~~~~
#                                      //.-~~~--\
#                  神兽保佑
#                  永无BUG!
*/
package com.nanjing.water.service.convert;

import com.nanjing.water.entity.request.monitorvideostreaming.ReqCreateMonitorVideoStreaming;
import com.nanjing.water.entity.request.monitorvideostreaming.ReqModifyMonitorVideoStreaming;
import com.nanjing.water.repository.po.MonitorVideoStreamingPO;
import com.nanjing.water.repository.vo.MonitorVideoStreamingVO;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 监控视频播放流
 * @author {#=author}
 */
@Mapper
public interface MonitorVideoStreamingConvert {
    MonitorVideoStreamingConvert INSTANCE = Mappers.getMapper(MonitorVideoStreamingConvert.class);

    MonitorVideoStreamingPO toCreate(ReqCreateMonitorVideoStreaming request);
    MonitorVideoStreamingPO toModify(ReqModifyMonitorVideoStreaming request);

    MonitorVideoStreamingVO toVo(MonitorVideoStreamingPO item);
    List<MonitorVideoStreamingVO> toVo(List<MonitorVideoStreamingPO> list);
}