package kr.co.jinwoosi.clfd.conts.prod.service.impl;

import kr.co.jinwoosi.clfd.clfd.dgns.model.SkTy;
import kr.co.jinwoosi.clfd.conts.prod.mapper.ProdMapper;
import kr.co.jinwoosi.clfd.conts.prod.model.Prod;
import kr.co.jinwoosi.clfd.conts.prod.model.ProdSearch;
import kr.co.jinwoosi.clfd.conts.prod.service.ProdService;
import kr.co.jinwoosi.clfd.framework.base.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("prodService")
public class ProdServiceImpl extends BaseServiceImpl<Prod, ProdSearch, ProdMapper> implements ProdService {

    @Override
    @Resource(name = "prodMapper")
    protected void setMapper (ProdMapper mapper) {
        super.setMapper(mapper);
    }

    @Override
    public List<SkTy> skTyList() {
        return mapper.skTyList();
    }
}
