package com.hccake.ballcat.admin.modules.sys.model.converter;

import com.hccake.ballcat.admin.modules.sys.model.entity.SysDictItem;
import com.hccake.ballcat.admin.modules.sys.model.vo.DictItemVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author Hccake
 * @version 1.0
 * @date 2020/4/9 16:32
 */
@Mapper
public interface SysDictConverter {
    SysDictConverter INSTANCE = Mappers.getMapper(SysDictConverter.class);

    /**
     * 字典项实体转VO
     * @param sysDictItem
     * @return
     */
    DictItemVO itemPoToVo(SysDictItem sysDictItem);

}
