mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
DatabaseGenerated attribute for user option values
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.IO;
|
||||
using System.Runtime.Serialization.Formatters.Binary;
|
||||
@@ -11,6 +12,7 @@ namespace Kruzya.TelegramBot.Core.Data
|
||||
{
|
||||
public class BotUserValue
|
||||
{
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
[Key]
|
||||
public Guid BotUserValueId { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user