using PMS.BusinessModels.Account;
using PMS.BusinessModels.Problem;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PMS.EntityModels.NoticeManager;
using PMS.BusinessModels.SMS;
namespace PMS.Interface.MessageManage
{
///
/// 公告通知公共接口
///
public interface IMessageManage
{
///
/// 增加公告
///
///
///
bool AddMessage(MessageManageModel model,UserInfo user,string ID);
///
/// 通知类型
///
///
string NoticeType();
///
/// 删除公告
///
///
///
bool DeleteMessage(MessageManageModel model);
///
/// 通知优先级
///
///
string NoticeOrder();
///
/// 通知对象
///
///
string NoticePerson(int PersonProperty);
///
/// 根据公告ID获取通知对象
///
///
///
string GetNatureByID(string id);
///
/// 根据ID获取通知信息
///
///
///
///
string GetNoticeByID(string id);
string GetChannelByNature(UserInfo user);
string ShowNotice(UserInfo user);
///
/// 通过Id获取公告信息
///
///
///
string SelecteMessageById(string id);
///
/// 公告信息绑定
///
///
string DataBind(int page, int rows, string query,UserInfo user);
///
/// 获取首页公告
///
///
///
string GetHome(UserInfo user);
///
/// 首页获取公告列表
///
///
///
///
///
string HomeGetList(int page, int rows, UserInfo user);
///
/// 首页获取通知列表
///
///
///
///
///
string HomeGetNotice(int page, int rows, UserInfo user);
///
/// 判断是否显示
///
///
///
Mssage_config PanDuanIsShow(UserInfo userInfo);
///
/// 修改操作
///
///
///
bool Edit_Notice(MessageManageModel model);
///
/// 显示总部和渠道的最新公告通知
///
///
///
string GetMessageOnIndex(UserInfo user);
///
/// 获取公告数
///
///
int GetCount(UserInfo user);
///
/// 保存单个公告显示配置
///
///
///
///
///
bool SaveNoticeConfig(string PersonId, string NoticeId, bool IsOpen);
int NoticeStatus(string id);
int AppNoticeStatus(string id);
///
/// APP公告获取
///
///
string APPDataBind(int page, int rows);
string Add_AppPush(AppPush_Model model);
int Del_AppNotice(string id);
//获取启用的app公告
string GetWorkNotice();
string GetWorkNotiveById(string id);
int Edit_AppNotice(AppPush_Model model);
int Edit_NoticeFJ(string v, string ID);
int DeleteFJ(string id);
///
/// 微信推送
///
///
///
string SendWeChartTempletMessge(NotificationDto notificationDto);
}
}