subscribe

This commit is contained in:
kislovdm committed 2026-03-10 16:24:21 +03:00
1 parent 4c60efd689
commit e768ee6604
9 files changed
+618 -40

No files matched your search

+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;
}