2024-12-08 17:07:17 +13:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
namespace EllieBot.Db.Models;
|
|
|
|
|
|
|
|
|
|
public class Notify
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public int Id { get; set; }
|
2024-12-08 18:51:31 +13:00
|
|
|
|
|
2024-12-08 17:07:17 +13:00
|
|
|
|
public ulong GuildId { get; set; }
|
2025-03-01 19:46:50 +13:00
|
|
|
|
public ulong? ChannelId { get; set; }
|
2024-12-08 18:51:31 +13:00
|
|
|
|
public NotifyType Type { get; set; }
|
2024-12-08 17:07:17 +13:00
|
|
|
|
|
|
|
|
|
[MaxLength(10_000)]
|
|
|
|
|
public string Message { get; set; } = string.Empty;
|
|
|
|
|
}
|
|
|
|
|
|
2024-12-08 18:51:31 +13:00
|
|
|
|
public enum NotifyType
|
2024-12-08 17:07:17 +13:00
|
|
|
|
{
|
2024-12-08 18:51:31 +13:00
|
|
|
|
LevelUp = 0,
|
|
|
|
|
Protection = 1, Prot = 1,
|
2024-12-08 19:37:22 +13:00
|
|
|
|
AddRoleReward = 2,
|
|
|
|
|
RemoveRoleReward = 3,
|
2025-03-24 13:13:06 +13:00
|
|
|
|
NiceCatch = 4,
|
2025-03-14 21:03:23 +13:00
|
|
|
|
// BigWin = 4,
|
2024-12-08 17:07:17 +13:00
|
|
|
|
}
|