package com.pcloud.book.applet.dao;

import com.pcloud.book.applet.entity.AppletGroupStatement;
import com.pcloud.common.core.dao.BaseDao;

import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * 学舍群话语库(AppletGroupStatement)表数据库访问层
 *
 * @author makejava
 * @since 2020-05-08 11:21:25
 */
public interface AppletGroupStatementDao extends BaseDao<AppletGroupStatement>{



    /**
     * 通过实体作为筛选条件查询
     *
     * @return 对象列表
     */
    List<AppletGroupStatement> getAll();

    /**
     * 随机取n条
     *
     * @return 对象列表
     */
    List<AppletGroupStatement> getRandom(Integer count);

}