feat: implemented return of user info and eula accept logic

This commit is contained in:
2025-07-10 23:58:12 +03:00
parent 252adf0fc7
commit 4a7810f571
15 changed files with 209 additions and 48 deletions

View File

@@ -28,22 +28,34 @@ namespace JOBot.Backend.Data.Migrations
.ValueGeneratedOnAdd()
.HasColumnType("uuid");
b.Property<string>("AccessToken")
.HasMaxLength(255)
.HasColumnType("character varying(255)");
b.Property<DateTime>("CreatedAt")
.HasColumnType("timestamp with time zone");
b.Property<string>("HeadHunterResumeUrl")
.HasColumnType("text");
b.Property<string>("CvUrl")
.HasMaxLength(255)
.HasColumnType("character varying(255)");
b.Property<long>("TelegramId")
b.Property<bool>("Eula")
.HasColumnType("boolean");
b.Property<string>("RefreshToken")
.HasMaxLength(255)
.HasColumnType("character varying(255)");
b.Property<long>("UserId")
.HasColumnType("bigint");
b.Property<string>("Username")
.HasMaxLength(50)
.HasColumnType("character varying(50)");
.HasMaxLength(255)
.HasColumnType("character varying(255)");
b.HasKey("Id");
b.HasAlternateKey("TelegramId");
b.HasAlternateKey("UserId");
b.ToTable("Users");
});