34 lines
1.1 KiB
C#
Executable File
34 lines
1.1 KiB
C#
Executable File
using Opsoft.NetCore.O3App.Domain.Interface;
|
|
using Opsoft.NetCore.O3App.Domain.UnitOfWork.BaseData.Model;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.BaseData.IRepositories
|
|
{
|
|
public interface IPersonalMessageRepository : IRepository<SYS_PRESONINFO>
|
|
{
|
|
/// <summary>
|
|
/// 获取当前登录用户的所有消息
|
|
/// </summary>
|
|
/// <param name="data"></param>
|
|
/// <returns></returns>
|
|
Task<GetPersonalMessage> GetAllPersonalMessage(object data);
|
|
|
|
/// <summary>
|
|
/// 更新个人消息
|
|
/// </summary>
|
|
/// <param name="data"></param>
|
|
/// <returns></returns>
|
|
Task<GetPersonalMessage> UpdatePersonalMessage(UpdatePersonalMeaasge data);
|
|
|
|
/// <summary>
|
|
/// 获取个人未读的消息数量
|
|
/// </summary>
|
|
/// <param name="data"></param>
|
|
/// <returns></returns>
|
|
Task<object> GetCountUnReadPersonalMessage(object data);
|
|
}
|
|
}
|