You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
596 B
C#
25 lines
596 B
C#
using System;
|
|
|
|
namespace Haoliang.Models.System
|
|
{
|
|
public enum NotificationChannelType
|
|
{
|
|
None = 0,
|
|
Email = 1,
|
|
Sms = 2,
|
|
WeChat = 3,
|
|
Webhook = 4,
|
|
DingTalk = 5
|
|
}
|
|
|
|
public class NotificationChannel
|
|
{
|
|
public int ChannelId { get; set; }
|
|
public string ChannelType { get; set; }
|
|
public string Recipient { get; set; }
|
|
public bool IsEnabled { get; set; }
|
|
public string Configuration { get; set; }
|
|
public DateTime CreatedAt { get; set; }
|
|
public DateTime UpdatedAt { get; set; }
|
|
}
|
|
} |