package com.pcloud.book.pcloudkeyword.dao;

import com.pcloud.book.pcloudkeyword.dto.PcloudKeywordClassifyDTO;
import com.pcloud.book.pcloudkeyword.entity.PcloudKeywordClassify;
import com.pcloud.common.core.dao.BaseDao;

import java.util.List;

/**
 *平台端个人号关键词分类
 */
public interface PcloudKeywordClassifyDao extends BaseDao<PcloudKeywordClassify> {


    /**
     * 删除
     * @param id
     */
    public void setDeleteById(Long id);

    /**
     * 更新启用状态
     * @param id
     * @param open
     */
    public void updateOpenById(Long id, Boolean open);

    /**
     * 列表
     * @param classify
     * @return
     */
    List<PcloudKeywordClassifyDTO> list(String classify);
}
