package com.red.circle.other.app.inner.convertor.sys;

import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.other.infra.database.rds.entity.sys.VersionManage;
import com.red.circle.other.infra.database.rds.entity.sys.VersionUpdateDescription;
import com.red.circle.other.inner.model.dto.sys.SysVersionUpdateDescriptionDTO;
import com.red.circle.other.inner.model.dto.sys.VersionManageDTO;
import org.mapstruct.Mapper;

/**
 * @author pengliang on 2020/11/14
 */
@Mapper(componentModel = ConvertorModel.SPRING)

public interface SysAppVersionManageInnerConvertor {

  SysVersionUpdateDescriptionDTO toSysVersionUpdateDescriptionDTO(
      VersionUpdateDescription versionUpdateDescription);

  VersionManageDTO toVersionManageDTO(VersionManage versionManage);

  VersionManage toVersionManage(VersionManageDTO dto);
}
