subscribe

This commit is contained in:
kislovdm
2026-03-10 16:24:21 +03:00
parent 4c60efd689
commit e768ee6604
9 changed files with 618 additions and 40 deletions
+19
View File
@@ -0,0 +1,19 @@
namespace PepperBot.Domain;
public class Subscription
{
public long Id { get; set; }
/// <summary>
/// Telegram chat id пользователя (может быть user id или id группы).
/// </summary>
public string ChatId { get; set; } = string.Empty;
/// <summary>
/// Строка с ключевыми словами, разделёнными запятыми/пробелами (например: "PLA, ABS, PETG").
/// </summary>
public string Keywords { get; set; } = string.Empty;
public bool IsActive { get; set; } = true;
}