mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
Use file-scoped namespaces
This commit is contained in:
+18
-19
@@ -1,24 +1,23 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Kruzya.TelegramBot.Core.Data
|
||||
{
|
||||
public class BotUser
|
||||
{
|
||||
/// <summary>
|
||||
/// The unique bot user identifier.
|
||||
/// </summary>
|
||||
[Key]
|
||||
public Guid BotUserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The chat identifier where this user is related.
|
||||
/// </summary>
|
||||
public long ChatId { get; set; }
|
||||
namespace Kruzya.TelegramBot.Core.Data;
|
||||
|
||||
/// <summary>
|
||||
/// The Telegram User identifier.
|
||||
/// </summary>
|
||||
public long UserId { get; set; }
|
||||
}
|
||||
public class BotUser
|
||||
{
|
||||
/// <summary>
|
||||
/// The unique bot user identifier.
|
||||
/// </summary>
|
||||
[Key]
|
||||
public Guid BotUserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The chat identifier where this user is related.
|
||||
/// </summary>
|
||||
public long ChatId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The Telegram User identifier.
|
||||
/// </summary>
|
||||
public long UserId { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user