743 lines
25 KiB
C#
743 lines
25 KiB
C#
// <auto-generated />
|
|
using System;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
using TelegramPanel.Data;
|
|
|
|
#nullable disable
|
|
|
|
namespace TelegramPanel.Data.Migrations
|
|
{
|
|
[DbContext(typeof(AppDbContext))]
|
|
partial class AppDbContextModelSnapshot : ModelSnapshot
|
|
{
|
|
protected override void BuildModel(ModelBuilder modelBuilder)
|
|
{
|
|
#pragma warning disable 612, 618
|
|
modelBuilder.HasAnnotation("ProductVersion", "8.0.24");
|
|
|
|
modelBuilder.Entity("TelegramPanel.Data.Entities.Account", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<string>("ApiHash")
|
|
.IsRequired()
|
|
.HasMaxLength(100)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<int>("ApiId")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<int?>("CategoryId")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<DateTime>("CreatedAt")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<DateTime?>("EstimatedRegistrationAt")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<DateTime?>("EstimatedRegistrationCheckedAtUtc")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<bool>("IsActive")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<DateTime?>("LastLoginAt")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<DateTime>("LastSyncAt")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<string>("Nickname")
|
|
.HasMaxLength(100)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<string>("Phone")
|
|
.IsRequired()
|
|
.HasMaxLength(20)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<string>("SessionPath")
|
|
.IsRequired()
|
|
.HasMaxLength(500)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<DateTime?>("TelegramStatusCheckedAtUtc")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<string>("TelegramStatusDetails")
|
|
.HasMaxLength(2000)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<bool?>("TelegramStatusOk")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<string>("TelegramStatusSummary")
|
|
.HasMaxLength(200)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<string>("TwoFactorPassword")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<long>("UserId")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<string>("Username")
|
|
.HasMaxLength(100)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasIndex("CategoryId");
|
|
|
|
b.HasIndex("Phone")
|
|
.IsUnique();
|
|
|
|
b.HasIndex("UserId");
|
|
|
|
b.ToTable("Accounts");
|
|
});
|
|
|
|
modelBuilder.Entity("TelegramPanel.Data.Entities.AccountCategory", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<string>("Color")
|
|
.HasMaxLength(20)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<DateTime>("CreatedAt")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<string>("Description")
|
|
.HasMaxLength(500)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<bool>("ExcludeFromOperations")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("INTEGER")
|
|
.HasDefaultValue(false);
|
|
|
|
b.Property<string>("Name")
|
|
.IsRequired()
|
|
.HasMaxLength(100)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasIndex("Name")
|
|
.IsUnique();
|
|
|
|
b.ToTable("AccountCategories");
|
|
});
|
|
|
|
modelBuilder.Entity("TelegramPanel.Data.Entities.AccountChannel", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<int>("AccountId")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<int>("ChannelId")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<bool>("IsAdmin")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<bool>("IsCreator")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<DateTime>("SyncedAt")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasIndex("ChannelId");
|
|
|
|
b.HasIndex("AccountId", "ChannelId")
|
|
.IsUnique();
|
|
|
|
b.HasIndex("ChannelId", "IsCreator", "IsAdmin");
|
|
|
|
b.ToTable("AccountChannels");
|
|
});
|
|
|
|
modelBuilder.Entity("TelegramPanel.Data.Entities.AccountGroup", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<int>("AccountId")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<int>("GroupId")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<bool>("IsAdmin")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<bool>("IsCreator")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<DateTime>("SyncedAt")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasIndex("GroupId");
|
|
|
|
b.HasIndex("AccountId", "GroupId")
|
|
.IsUnique();
|
|
|
|
b.HasIndex("GroupId", "IsCreator", "IsAdmin");
|
|
|
|
b.ToTable("AccountGroups");
|
|
});
|
|
|
|
modelBuilder.Entity("TelegramPanel.Data.Entities.BatchTask", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<int>("Completed")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<DateTime?>("CompletedAt")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<string>("Config")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<DateTime>("CreatedAt")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<int>("Failed")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<DateTime?>("StartedAt")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<string>("Status")
|
|
.IsRequired()
|
|
.HasMaxLength(20)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<string>("TaskType")
|
|
.IsRequired()
|
|
.HasMaxLength(50)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<int>("Total")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasIndex("CreatedAt");
|
|
|
|
b.HasIndex("Status");
|
|
|
|
b.ToTable("BatchTasks");
|
|
});
|
|
|
|
modelBuilder.Entity("TelegramPanel.Data.Entities.Bot", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<DateTime>("CreatedAt")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<bool>("IsActive")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<DateTime?>("LastSyncAt")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<long?>("LastUpdateId")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<string>("Name")
|
|
.IsRequired()
|
|
.HasMaxLength(100)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<string>("Token")
|
|
.IsRequired()
|
|
.HasMaxLength(200)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<string>("Username")
|
|
.HasMaxLength(100)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasIndex("Name")
|
|
.IsUnique();
|
|
|
|
b.HasIndex("Username");
|
|
|
|
b.ToTable("Bots");
|
|
});
|
|
|
|
modelBuilder.Entity("TelegramPanel.Data.Entities.BotChannel", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<string>("About")
|
|
.HasMaxLength(1000)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<long?>("AccessHash")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<int?>("CategoryId")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<DateTime?>("ChannelStatusCheckedAtUtc")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<string>("ChannelStatusError")
|
|
.HasMaxLength(500)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<bool?>("ChannelStatusOk")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<DateTime?>("CreatedAt")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<bool>("IsBroadcast")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<int>("MemberCount")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<DateTime>("SyncedAt")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<long>("TelegramId")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<string>("Title")
|
|
.IsRequired()
|
|
.HasMaxLength(200)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<string>("Username")
|
|
.HasMaxLength(100)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasIndex("CategoryId");
|
|
|
|
b.HasIndex("ChannelStatusOk");
|
|
|
|
b.HasIndex("TelegramId")
|
|
.IsUnique();
|
|
|
|
b.HasIndex("Username");
|
|
|
|
b.ToTable("BotChannels");
|
|
});
|
|
|
|
modelBuilder.Entity("TelegramPanel.Data.Entities.BotChannelCategory", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<DateTime>("CreatedAt")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<string>("Description")
|
|
.HasMaxLength(500)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<string>("Name")
|
|
.IsRequired()
|
|
.HasMaxLength(100)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasIndex("Name")
|
|
.IsUnique();
|
|
|
|
b.ToTable("BotChannelCategories");
|
|
});
|
|
|
|
modelBuilder.Entity("TelegramPanel.Data.Entities.BotChannelMember", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<int>("BotChannelId")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<int>("BotId")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<DateTime>("SyncedAt")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasIndex("BotChannelId");
|
|
|
|
b.HasIndex("BotId");
|
|
|
|
b.HasIndex("BotId", "BotChannelId")
|
|
.IsUnique();
|
|
|
|
b.ToTable("BotChannelMembers");
|
|
});
|
|
|
|
modelBuilder.Entity("TelegramPanel.Data.Entities.Channel", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<string>("About")
|
|
.HasMaxLength(1000)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<long?>("AccessHash")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<DateTime?>("CreatedAt")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<int?>("CreatorAccountId")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<int?>("GroupId")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<bool>("IsBroadcast")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<int>("MemberCount")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<DateTime>("SyncedAt")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<long>("TelegramId")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<string>("Title")
|
|
.IsRequired()
|
|
.HasMaxLength(200)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<string>("Username")
|
|
.HasMaxLength(100)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasIndex("CreatorAccountId");
|
|
|
|
b.HasIndex("GroupId");
|
|
|
|
b.HasIndex("SyncedAt");
|
|
|
|
b.HasIndex("TelegramId")
|
|
.IsUnique();
|
|
|
|
b.HasIndex("Username");
|
|
|
|
b.ToTable("Channels");
|
|
});
|
|
|
|
modelBuilder.Entity("TelegramPanel.Data.Entities.ChannelGroup", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<DateTime>("CreatedAt")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<string>("Description")
|
|
.HasMaxLength(500)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<string>("Name")
|
|
.IsRequired()
|
|
.HasMaxLength(100)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasIndex("Name")
|
|
.IsUnique();
|
|
|
|
b.ToTable("ChannelGroups");
|
|
});
|
|
|
|
modelBuilder.Entity("TelegramPanel.Data.Entities.Group", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<string>("About")
|
|
.HasMaxLength(1000)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<long?>("AccessHash")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<int?>("CategoryId")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<DateTime?>("CreatedAt")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<int?>("CreatorAccountId")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<int>("MemberCount")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<DateTime>("SyncedAt")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<long>("TelegramId")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<string>("Title")
|
|
.IsRequired()
|
|
.HasMaxLength(200)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<string>("Username")
|
|
.HasMaxLength(100)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasIndex("CategoryId");
|
|
|
|
b.HasIndex("CreatorAccountId");
|
|
|
|
b.HasIndex("SyncedAt");
|
|
|
|
b.HasIndex("TelegramId")
|
|
.IsUnique();
|
|
|
|
b.HasIndex("Username");
|
|
|
|
b.ToTable("Groups");
|
|
});
|
|
|
|
modelBuilder.Entity("TelegramPanel.Data.Entities.GroupCategory", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<DateTime>("CreatedAt")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<string>("Description")
|
|
.HasMaxLength(500)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<string>("Name")
|
|
.IsRequired()
|
|
.HasMaxLength(100)
|
|
.HasColumnType("TEXT");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasIndex("Name")
|
|
.IsUnique();
|
|
|
|
b.ToTable("GroupCategories");
|
|
});
|
|
|
|
modelBuilder.Entity("TelegramPanel.Data.Entities.Account", b =>
|
|
{
|
|
b.HasOne("TelegramPanel.Data.Entities.AccountCategory", "Category")
|
|
.WithMany("Accounts")
|
|
.HasForeignKey("CategoryId")
|
|
.OnDelete(DeleteBehavior.SetNull);
|
|
|
|
b.Navigation("Category");
|
|
});
|
|
|
|
modelBuilder.Entity("TelegramPanel.Data.Entities.AccountChannel", b =>
|
|
{
|
|
b.HasOne("TelegramPanel.Data.Entities.Account", "Account")
|
|
.WithMany("AccountChannels")
|
|
.HasForeignKey("AccountId")
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
.IsRequired();
|
|
|
|
b.HasOne("TelegramPanel.Data.Entities.Channel", "Channel")
|
|
.WithMany("AccountChannels")
|
|
.HasForeignKey("ChannelId")
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
.IsRequired();
|
|
|
|
b.Navigation("Account");
|
|
|
|
b.Navigation("Channel");
|
|
});
|
|
|
|
modelBuilder.Entity("TelegramPanel.Data.Entities.AccountGroup", b =>
|
|
{
|
|
b.HasOne("TelegramPanel.Data.Entities.Account", "Account")
|
|
.WithMany("AccountGroups")
|
|
.HasForeignKey("AccountId")
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
.IsRequired();
|
|
|
|
b.HasOne("TelegramPanel.Data.Entities.Group", "Group")
|
|
.WithMany("AccountGroups")
|
|
.HasForeignKey("GroupId")
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
.IsRequired();
|
|
|
|
b.Navigation("Account");
|
|
|
|
b.Navigation("Group");
|
|
});
|
|
|
|
modelBuilder.Entity("TelegramPanel.Data.Entities.BotChannel", b =>
|
|
{
|
|
b.HasOne("TelegramPanel.Data.Entities.BotChannelCategory", "Category")
|
|
.WithMany("Channels")
|
|
.HasForeignKey("CategoryId")
|
|
.OnDelete(DeleteBehavior.SetNull);
|
|
|
|
b.Navigation("Category");
|
|
});
|
|
|
|
modelBuilder.Entity("TelegramPanel.Data.Entities.BotChannelMember", b =>
|
|
{
|
|
b.HasOne("TelegramPanel.Data.Entities.BotChannel", "BotChannel")
|
|
.WithMany("Members")
|
|
.HasForeignKey("BotChannelId")
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
.IsRequired();
|
|
|
|
b.HasOne("TelegramPanel.Data.Entities.Bot", "Bot")
|
|
.WithMany("ChannelMembers")
|
|
.HasForeignKey("BotId")
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
.IsRequired();
|
|
|
|
b.Navigation("Bot");
|
|
|
|
b.Navigation("BotChannel");
|
|
});
|
|
|
|
modelBuilder.Entity("TelegramPanel.Data.Entities.Channel", b =>
|
|
{
|
|
b.HasOne("TelegramPanel.Data.Entities.Account", "CreatorAccount")
|
|
.WithMany("Channels")
|
|
.HasForeignKey("CreatorAccountId")
|
|
.OnDelete(DeleteBehavior.SetNull);
|
|
|
|
b.HasOne("TelegramPanel.Data.Entities.ChannelGroup", "Group")
|
|
.WithMany("Channels")
|
|
.HasForeignKey("GroupId")
|
|
.OnDelete(DeleteBehavior.SetNull);
|
|
|
|
b.Navigation("CreatorAccount");
|
|
|
|
b.Navigation("Group");
|
|
});
|
|
|
|
modelBuilder.Entity("TelegramPanel.Data.Entities.Group", b =>
|
|
{
|
|
b.HasOne("TelegramPanel.Data.Entities.GroupCategory", "Category")
|
|
.WithMany("Groups")
|
|
.HasForeignKey("CategoryId")
|
|
.OnDelete(DeleteBehavior.SetNull);
|
|
|
|
b.HasOne("TelegramPanel.Data.Entities.Account", "CreatorAccount")
|
|
.WithMany("Groups")
|
|
.HasForeignKey("CreatorAccountId")
|
|
.OnDelete(DeleteBehavior.SetNull);
|
|
|
|
b.Navigation("Category");
|
|
|
|
b.Navigation("CreatorAccount");
|
|
});
|
|
|
|
modelBuilder.Entity("TelegramPanel.Data.Entities.Account", b =>
|
|
{
|
|
b.Navigation("AccountChannels");
|
|
|
|
b.Navigation("AccountGroups");
|
|
|
|
b.Navigation("Channels");
|
|
|
|
b.Navigation("Groups");
|
|
});
|
|
|
|
modelBuilder.Entity("TelegramPanel.Data.Entities.AccountCategory", b =>
|
|
{
|
|
b.Navigation("Accounts");
|
|
});
|
|
|
|
modelBuilder.Entity("TelegramPanel.Data.Entities.Bot", b =>
|
|
{
|
|
b.Navigation("ChannelMembers");
|
|
});
|
|
|
|
modelBuilder.Entity("TelegramPanel.Data.Entities.BotChannel", b =>
|
|
{
|
|
b.Navigation("Members");
|
|
});
|
|
|
|
modelBuilder.Entity("TelegramPanel.Data.Entities.BotChannelCategory", b =>
|
|
{
|
|
b.Navigation("Channels");
|
|
});
|
|
|
|
modelBuilder.Entity("TelegramPanel.Data.Entities.Channel", b =>
|
|
{
|
|
b.Navigation("AccountChannels");
|
|
});
|
|
|
|
modelBuilder.Entity("TelegramPanel.Data.Entities.ChannelGroup", b =>
|
|
{
|
|
b.Navigation("Channels");
|
|
});
|
|
|
|
modelBuilder.Entity("TelegramPanel.Data.Entities.Group", b =>
|
|
{
|
|
b.Navigation("AccountGroups");
|
|
});
|
|
|
|
modelBuilder.Entity("TelegramPanel.Data.Entities.GroupCategory", b =>
|
|
{
|
|
b.Navigation("Groups");
|
|
});
|
|
#pragma warning restore 612, 618
|
|
}
|
|
}
|
|
}
|