package com.hotent.portal.persistence.manager;


import com.hotent.base.manager.BaseManager;
import com.hotent.portal.model.MessageRead;
import com.hotent.portal.model.PortalNewsNoticeRead;
import com.hotent.uc.api.model.IUser;

import java.util.List;
import java.util.Map;


public interface PortalNewsNoticeReadManager extends BaseManager<PortalNewsNoticeRead>{
	
	/**
	 * 添加已读信息
	 * @param msgId 信息id
	 * @param currentUser 当前用户
	 */
	void addMessageRead(String msgId, IUser currentUser);

	List<PortalNewsNoticeRead> getReadByUser(Map params);
	/**
	 * 获取已读信息通过信息id
	 * @param messageId 信息id
	 * @return
	 */
	List<PortalNewsNoticeRead> getByMessageId(String messageId);
	
}
