package com.dk.mdm.infrastructure.convert.core;

import com.dk.mdm.model.pojo.core.Post;
import com.dk.mdm.model.vo.core.PostVO;
import org.mapstruct.Mapper;

/**
 * @desc   : Post转换类
 * @author : 夏常明
 * @date   : 2023-01-04 17:09
 */
@Mapper(componentModel = "spring")
public interface PostConvert {

    /**
     * @desc   : 转换vo为pojo
     * @author : 夏常明
     * @date   : 2023-01-04 19:37
     */
    Post convertToPo(PostVO postVO);

}
