package com.xueyi.system.digitalmans.manager.impl;

import com.xueyi.system.api.digitalmans.domain.dto.DmSkillDto;
import com.xueyi.system.digitalmans.domain.dto.DmCustomMadeDto;
import com.xueyi.system.digitalmans.domain.model.DmSkillConverter;
import com.xueyi.system.api.digitalmans.domain.po.DmSkillPo;
import com.xueyi.system.digitalmans.domain.query.DmSkillQuery;
import com.xueyi.system.digitalmans.manager.IDmSkillManager;
import com.xueyi.common.web.entity.manager.impl.BaseManagerImpl;
import com.xueyi.system.digitalmans.mapper.DmCustomMadeMapper;
import com.xueyi.system.digitalmans.mapper.DmSkillMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 访客管理 数据封装层处理
 *
 * @author xueyi
 */
@Component
public class DmSkillManager extends BaseManagerImpl<DmSkillQuery, DmSkillDto, DmSkillPo, DmSkillMapper, DmSkillConverter> implements IDmSkillManager {
    @Autowired
    DmCustomMadeMapper customMadeMapper;

    @Override
    public int customInsert(DmCustomMadeDto dto) {
        return customMadeMapper.insert(dto);
    }
}