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

import com.xueyi.common.core.constant.basic.OperateConstants;
import com.xueyi.common.web.entity.domain.SlaveRelation;
import com.xueyi.system.api.digitalmans.domain.merge.DmModelIconMerge;
import com.xueyi.system.api.digitalmans.domain.po.DmScreenIconPo;
import com.xueyi.system.api.digitalmans.domain.dto.DmScreenIconDto;
import com.xueyi.system.digitalmans.domain.query.DmScreenIconQuery;
import com.xueyi.system.digitalmans.domain.model.DmScreenIconConverter;
import com.xueyi.system.digitalmans.mapper.DmScreenIconMapper;
import com.xueyi.common.web.entity.manager.impl.BaseManagerImpl;
import com.xueyi.system.digitalmans.manager.IDmScreenIconManager;
import com.xueyi.system.digitalmans.mapper.merge.DmModelIconMergeMapper;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

import static com.xueyi.system.api.digitalmans.domain.merge.MergeGroup.Icon_DmModelIcon_GROUP;

/**
 * 数字人主界面图标管理 数据封装层处理
 *
 * @author xueyi
 */
@Component
public class DmScreenIconManager extends BaseManagerImpl<DmScreenIconQuery, DmScreenIconDto, DmScreenIconPo, DmScreenIconMapper, DmScreenIconConverter> implements IDmScreenIconManager {

//    @Override
//    protected List<SlaveRelation> subRelationInit() {
//        List result = new ArrayList<SlaveRelation>();
//        result.add(new SlaveRelation(Icon_DmModelIcon_GROUP, DmModelIconMergeMapper.class, DmModelIconMerge.class, OperateConstants.SubOperateLimit.ONLY_DEL));
//        return result;
//    }
}