12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace XYY.Service.Standard.DingDing.Dto
- {
- /// <summary>
- /// 警告通知对象
- /// </summary>
- public class WarningNoticeTarget
- {
- /// <summary>
- /// 对象名
- /// </summary>
- public string TargetName
- {
- get; set;
- }
- /// <summary>
- /// 服务类型
- /// </summary>
- public string ServiceType
- {
- get; set;
- }
- }
- public class ActionCardNoticeTarget : WarningNoticeTarget
- {
- /// <summary>
- /// 按钮布局,0是竖向,1是横向
- /// </summary>
- public string ButtonOrient { get; set; }
- public List<ActionCardButton> Buttons { get; set; }
- public string Text { get; set; }
- public string Title { get; set; }
- public bool ToAllUser { get; set; }
- public List<int> UserIds { get; set; }
- }
- public class ActionCardButton
- {
- public string Text { get; set; }
- public string Link { get; set; }
- }
- }
|