using Microsoft.Table; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TEAMModelOS.SDK.Context.Attributes.Azure; namespace TEAMModelOS.SDK.Models.Cosmos.BI { public class BINotice : CosmosEntity { public BINotice() { code = "BINotice"; pk = "BINotice"; } /// /// 消息类型 0系统 1普通类型 2提示类型 3 特殊类型 /// public int type { get; set; } = 0; /// /// 跳转地址 /// public string jumpUrl { get; set; } /// /// 回调名称拒绝 查看 /// public string callbackName { get; set; } /// /// 拒绝 /// public string refuseName { get; set; } /// /// 消息标题 /// public string theme { get; set; } /// /// 消息内容 /// public string content { get; set; } /// /// 接收人群 /// public Crowd crowd { get; set; } /// /// 接收人id集合 /// public List crowdIds { get; set; } /// /// 创建者id /// public string createId { get; set; } /// /// 发送时间 /// public long sendTime { get; set; } /// /// 创建时间 /// public long createTime { get; set; } /// /// 发送消息来源, 默认(BI)、IES5、HiTA /// public string source { get; set; } = "IES"; } /// /// 发送人群 /// public class Crowd { public List tmdIds { get; set; } public List schoolIds { get; set; } public List areaIds { get; set; } /// /// 接收类型 /// public string types { get; set; } } public class CrowdInfo { public string id { get; set; } public string name { get; set; } } }