1370 lines
57 KiB
C#
1370 lines
57 KiB
C#
// <auto-generated />
|
||
using System;
|
||
using Microsoft.EntityFrameworkCore;
|
||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||
using Microsoft.EntityFrameworkCore.Metadata;
|
||
using Microsoft.EntityFrameworkCore.Migrations;
|
||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||
using PortBlog.API.DbContexts;
|
||
|
||
#nullable disable
|
||
|
||
namespace PortBlog.API.Migrations
|
||
{
|
||
[DbContext(typeof(CvBlogContext))]
|
||
[Migration("20240507173808_Dataupdate")]
|
||
partial class Dataupdate
|
||
{
|
||
/// <inheritdoc />
|
||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||
{
|
||
#pragma warning disable 612, 618
|
||
modelBuilder
|
||
.HasAnnotation("ProductVersion", "8.0.4")
|
||
.HasAnnotation("Relational:MaxIdentifierLength", 64);
|
||
|
||
MySqlModelBuilderExtensions.AutoIncrementColumns(modelBuilder);
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.Academic", b =>
|
||
{
|
||
b.Property<int>("AcademicId")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("AcademicId"));
|
||
|
||
b.Property<string>("CreatedBy")
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<DateTime?>("CreatedDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<string>("Degree")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("varchar(100)");
|
||
|
||
b.Property<string>("DegreeSpecialization")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("varchar(100)");
|
||
|
||
b.Property<int>("EndYear")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Institution")
|
||
.IsRequired()
|
||
.HasMaxLength(200)
|
||
.HasColumnType("varchar(200)");
|
||
|
||
b.Property<string>("ModifiedBy")
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<DateTime?>("ModifiedDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<int>("ResumeId")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int>("StartYear")
|
||
.HasColumnType("int");
|
||
|
||
b.HasKey("AcademicId");
|
||
|
||
b.HasIndex("ResumeId");
|
||
|
||
b.ToTable("Academics");
|
||
|
||
b.HasData(
|
||
new
|
||
{
|
||
AcademicId = 1,
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8945),
|
||
Degree = "High School",
|
||
EndYear = 2007,
|
||
Institution = "Pragati Little Public School",
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8945),
|
||
ResumeId = 1,
|
||
StartYear = 2006
|
||
},
|
||
new
|
||
{
|
||
AcademicId = 2,
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8948),
|
||
Degree = "Intermediate",
|
||
DegreeSpecialization = "MPC",
|
||
EndYear = 2009,
|
||
Institution = "Sri Chaitanya Junior College",
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8949),
|
||
ResumeId = 1,
|
||
StartYear = 2007
|
||
},
|
||
new
|
||
{
|
||
AcademicId = 3,
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8950),
|
||
Degree = "BTech",
|
||
DegreeSpecialization = "ECE",
|
||
EndYear = 2013,
|
||
Institution = "Kakinada Institute of Technology & Science",
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8951),
|
||
ResumeId = 1,
|
||
StartYear = 2009
|
||
});
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.Blog", b =>
|
||
{
|
||
b.Property<string>("BlogUrl")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("varchar(200)");
|
||
|
||
b.Property<string>("CreatedBy")
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<DateTime?>("CreatedDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<string>("Description")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("varchar(200)");
|
||
|
||
b.Property<string>("ModifiedBy")
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<DateTime?>("ModifiedDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<string>("Name")
|
||
.IsRequired()
|
||
.HasMaxLength(50)
|
||
.HasColumnType("varchar(50)");
|
||
|
||
b.HasKey("BlogUrl");
|
||
|
||
b.ToTable("Blogs");
|
||
|
||
b.HasData(
|
||
new
|
||
{
|
||
BlogUrl = "https://bangararaju.kottedi.in/blog",
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9023),
|
||
Description = "Your Hub for Tech, DIY, and Innovation",
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9023),
|
||
Name = "Engineer's Odyssey"
|
||
});
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.Candidate", b =>
|
||
{
|
||
b.Property<int>("CandidateId")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("CandidateId"));
|
||
|
||
b.Property<string>("Address")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("varchar(200)");
|
||
|
||
b.Property<string>("Avatar")
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<string>("CreatedBy")
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<DateTime?>("CreatedDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<DateTime?>("Dob")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<string>("Email")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("varchar(100)");
|
||
|
||
b.Property<string>("FirstName")
|
||
.IsRequired()
|
||
.HasMaxLength(50)
|
||
.HasColumnType("varchar(50)");
|
||
|
||
b.Property<string>("Gender")
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<string>("LastName")
|
||
.IsRequired()
|
||
.HasMaxLength(50)
|
||
.HasColumnType("varchar(50)");
|
||
|
||
b.Property<string>("ModifiedBy")
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<DateTime?>("ModifiedDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<string>("Phone")
|
||
.IsRequired()
|
||
.HasMaxLength(20)
|
||
.HasColumnType("varchar(20)");
|
||
|
||
b.HasKey("CandidateId");
|
||
|
||
b.ToTable("Candidates");
|
||
|
||
b.HasData(
|
||
new
|
||
{
|
||
CandidateId = 1,
|
||
Address = "Samalkot, Andhra Pradesh, India",
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8726),
|
||
Dob = new DateTime(1992, 5, 6, 0, 0, 0, 0, DateTimeKind.Unspecified),
|
||
Email = "bangararaju.kottedi@gmail.com",
|
||
FirstName = "Bangara Raju",
|
||
Gender = "Male",
|
||
LastName = "Kottedi",
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8742),
|
||
Phone = "+91 9441212187"
|
||
});
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.Certification", b =>
|
||
{
|
||
b.Property<int>("CertificationId")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("CertificationId"));
|
||
|
||
b.Property<string>("CertificationLink")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("varchar(200)");
|
||
|
||
b.Property<string>("CertificationName")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("varchar(100)");
|
||
|
||
b.Property<string>("CreatedBy")
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<DateTime?>("CreatedDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<DateTime?>("ExpiryDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<DateTime>("IssueDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<string>("IssuingOrganization")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("varchar(100)");
|
||
|
||
b.Property<string>("ModifiedBy")
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<DateTime?>("ModifiedDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<int>("ResumeId")
|
||
.HasColumnType("int");
|
||
|
||
b.HasKey("CertificationId");
|
||
|
||
b.HasIndex("ResumeId");
|
||
|
||
b.ToTable("Certifications");
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.ClientLog", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||
|
||
b.Property<string>("ClientIp")
|
||
.IsRequired()
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<string>("ClientLocation")
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<DateTime>("CreatedDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<string>("SiteName")
|
||
.IsRequired()
|
||
.HasMaxLength(50)
|
||
.HasColumnType("varchar(50)");
|
||
|
||
b.Property<string>("SiteUrl")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("varchar(100)");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.ToTable("ClientLogs");
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.Experience", b =>
|
||
{
|
||
b.Property<int>("ExperienceId")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("ExperienceId"));
|
||
|
||
b.Property<string>("Company")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("varchar(100)");
|
||
|
||
b.Property<string>("CreatedBy")
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<DateTime?>("CreatedDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<string>("Description")
|
||
.HasMaxLength(500)
|
||
.HasColumnType("varchar(500)");
|
||
|
||
b.Property<DateTime?>("EndDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<string>("Location")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("varchar(100)");
|
||
|
||
b.Property<string>("ModifiedBy")
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<DateTime?>("ModifiedDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<int>("ResumeId")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<DateTime>("StartDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<string>("Title")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("varchar(100)");
|
||
|
||
b.HasKey("ExperienceId");
|
||
|
||
b.HasIndex("ResumeId");
|
||
|
||
b.ToTable("Experiences");
|
||
|
||
b.HasData(
|
||
new
|
||
{
|
||
ExperienceId = 1,
|
||
Company = "Agility E Services",
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9068),
|
||
Description = "",
|
||
EndDate = new DateTime(2016, 4, 25, 0, 0, 0, 0, DateTimeKind.Unspecified),
|
||
Location = "Hyderabad",
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9068),
|
||
ResumeId = 1,
|
||
StartDate = new DateTime(2015, 9, 2, 0, 0, 0, 0, DateTimeKind.Unspecified),
|
||
Title = "Jr. Software Engineer"
|
||
},
|
||
new
|
||
{
|
||
ExperienceId = 2,
|
||
Company = "Agility",
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9072),
|
||
Description = "",
|
||
EndDate = new DateTime(2022, 1, 31, 0, 0, 0, 0, DateTimeKind.Unspecified),
|
||
Location = "Kuwait",
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9073),
|
||
ResumeId = 1,
|
||
StartDate = new DateTime(2016, 5, 12, 0, 0, 0, 0, DateTimeKind.Unspecified),
|
||
Title = "Web Developer"
|
||
},
|
||
new
|
||
{
|
||
ExperienceId = 3,
|
||
Company = "Agility",
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9075),
|
||
Description = "",
|
||
EndDate = new DateTime(2022, 10, 31, 0, 0, 0, 0, DateTimeKind.Unspecified),
|
||
Location = "Kuwait",
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9075),
|
||
ResumeId = 1,
|
||
StartDate = new DateTime(2022, 2, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
|
||
Title = "Senior Web Developer"
|
||
},
|
||
new
|
||
{
|
||
ExperienceId = 4,
|
||
Company = "Agility E Services",
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9077),
|
||
Description = "",
|
||
EndDate = new DateTime(2024, 4, 12, 0, 0, 0, 0, DateTimeKind.Unspecified),
|
||
Location = "Hyderabad",
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9077),
|
||
ResumeId = 1,
|
||
StartDate = new DateTime(2022, 11, 4, 0, 0, 0, 0, DateTimeKind.Unspecified),
|
||
Title = "Technology Specialist"
|
||
});
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.ExperienceDetails", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||
|
||
b.Property<string>("CreatedBy")
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<DateTime?>("CreatedDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<string>("Details")
|
||
.IsRequired()
|
||
.HasMaxLength(500)
|
||
.HasColumnType("varchar(500)");
|
||
|
||
b.Property<int>("ExperienceId")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("ModifiedBy")
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<DateTime?>("ModifiedDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<int>("Order")
|
||
.HasColumnType("int");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.HasIndex("ExperienceId");
|
||
|
||
b.ToTable("ExperienceDetails");
|
||
|
||
b.HasData(
|
||
new
|
||
{
|
||
Id = 1,
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9096),
|
||
Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.",
|
||
ExperienceId = 1,
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9096),
|
||
Order = 1
|
||
},
|
||
new
|
||
{
|
||
Id = 2,
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9099),
|
||
Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.",
|
||
ExperienceId = 1,
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9100),
|
||
Order = 2
|
||
},
|
||
new
|
||
{
|
||
Id = 3,
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9101),
|
||
Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.",
|
||
ExperienceId = 2,
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9101),
|
||
Order = 1
|
||
},
|
||
new
|
||
{
|
||
Id = 4,
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9102),
|
||
Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.",
|
||
ExperienceId = 2,
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9102),
|
||
Order = 2
|
||
},
|
||
new
|
||
{
|
||
Id = 5,
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9103),
|
||
Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.",
|
||
ExperienceId = 3,
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9103),
|
||
Order = 1
|
||
},
|
||
new
|
||
{
|
||
Id = 6,
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9105),
|
||
Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.",
|
||
ExperienceId = 3,
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9105),
|
||
Order = 2
|
||
},
|
||
new
|
||
{
|
||
Id = 7,
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9106),
|
||
Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.",
|
||
ExperienceId = 4,
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9106),
|
||
Order = 1
|
||
},
|
||
new
|
||
{
|
||
Id = 8,
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9107),
|
||
Details = "Worked on the YouTube Captions team, in Javascript and Python to plan, to design and develop the full stack to add and edit Automatic Speech Recognition captions.",
|
||
ExperienceId = 4,
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9108),
|
||
Order = 2
|
||
});
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.Hobby", b =>
|
||
{
|
||
b.Property<int>("HobbyId")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("HobbyId"));
|
||
|
||
b.Property<string>("CreatedBy")
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<DateTime?>("CreatedDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<string>("Description")
|
||
.IsRequired()
|
||
.HasMaxLength(500)
|
||
.HasColumnType("varchar(500)");
|
||
|
||
b.Property<string>("Icon")
|
||
.HasMaxLength(50)
|
||
.HasColumnType("varchar(50)");
|
||
|
||
b.Property<string>("ModifiedBy")
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<DateTime?>("ModifiedDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<string>("Name")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("varchar(100)");
|
||
|
||
b.Property<int>("Order")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int>("ResumeId")
|
||
.HasColumnType("int");
|
||
|
||
b.HasKey("HobbyId");
|
||
|
||
b.HasIndex("ResumeId");
|
||
|
||
b.ToTable("Hobbies");
|
||
|
||
b.HasData(
|
||
new
|
||
{
|
||
HobbyId = 1,
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8912),
|
||
Description = "Crafting Professional-Quality Websites with Precision.",
|
||
Icon = "fa-square-terminal",
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8913),
|
||
Name = "Web Development",
|
||
Order = 1,
|
||
ResumeId = 1
|
||
},
|
||
new
|
||
{
|
||
HobbyId = 2,
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8917),
|
||
Description = "Streamlining and Simplifying Complex Tasks through Automation.",
|
||
Icon = "fa-robot",
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8918),
|
||
Name = "Automation",
|
||
Order = 2,
|
||
ResumeId = 1
|
||
},
|
||
new
|
||
{
|
||
HobbyId = 3,
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8919),
|
||
Description = "Sharing the knowledge and insights I’ve gathered along my journey.",
|
||
Icon = "fa-typewriter",
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8919),
|
||
Name = "Blogging",
|
||
Order = 3,
|
||
ResumeId = 1
|
||
},
|
||
new
|
||
{
|
||
HobbyId = 4,
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8921),
|
||
Description = "Exploring, embracing, and leveraging the latest advancements.",
|
||
Icon = "fa-lightbulb-gear",
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8921),
|
||
Name = "Technology",
|
||
Order = 4,
|
||
ResumeId = 1
|
||
});
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.Message", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||
|
||
b.Property<int>("CandidateId")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Content")
|
||
.IsRequired()
|
||
.HasMaxLength(500)
|
||
.HasColumnType("varchar(500)");
|
||
|
||
b.Property<DateTime>("CreatedDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<string>("FromEmail")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("varchar(100)");
|
||
|
||
b.Property<string>("Name")
|
||
.IsRequired()
|
||
.HasMaxLength(50)
|
||
.HasColumnType("varchar(50)");
|
||
|
||
b.Property<int>("SentStatus")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Subject")
|
||
.IsRequired()
|
||
.HasMaxLength(50)
|
||
.HasColumnType("varchar(50)");
|
||
|
||
b.Property<string>("ToEmail")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("varchar(100)");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.HasIndex("CandidateId");
|
||
|
||
b.ToTable("Messages");
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.Post", b =>
|
||
{
|
||
b.Property<int>("PostId")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("PostId"));
|
||
|
||
b.Property<string>("Author")
|
||
.HasMaxLength(100)
|
||
.HasColumnType("varchar(100)");
|
||
|
||
b.Property<string>("BlogUrl")
|
||
.IsRequired()
|
||
.HasMaxLength(200)
|
||
.HasColumnType("varchar(200)");
|
||
|
||
b.Property<string>("Categories")
|
||
.IsRequired()
|
||
.HasMaxLength(200)
|
||
.HasColumnType("varchar(200)");
|
||
|
||
b.Property<int>("Comments")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("CreatedBy")
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<DateTime?>("CreatedDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<string>("Description")
|
||
.IsRequired()
|
||
.HasMaxLength(200)
|
||
.HasColumnType("varchar(200)");
|
||
|
||
b.Property<string>("Image")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("varchar(200)");
|
||
|
||
b.Property<int>("Likes")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("ModifiedBy")
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<DateTime?>("ModifiedDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<string>("PostUrl")
|
||
.IsRequired()
|
||
.HasMaxLength(200)
|
||
.HasColumnType("varchar(200)");
|
||
|
||
b.Property<string>("Slug")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("varchar(100)");
|
||
|
||
b.Property<string>("Title")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("varchar(100)");
|
||
|
||
b.Property<int>("Views")
|
||
.HasColumnType("int");
|
||
|
||
b.HasKey("PostId");
|
||
|
||
b.HasIndex("BlogUrl");
|
||
|
||
b.ToTable("Posts");
|
||
|
||
b.HasData(
|
||
new
|
||
{
|
||
PostId = 1,
|
||
BlogUrl = "https://bangararaju.kottedi.in/blog",
|
||
Categories = "[\"Welcome\"]",
|
||
Comments = 0,
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9042),
|
||
Description = "Hello World",
|
||
Likes = 0,
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9038),
|
||
PostUrl = "https://bangararaju.kottedi.in/blog/hello-world",
|
||
Slug = "hello-world",
|
||
Title = "Hello World",
|
||
Views = 0
|
||
},
|
||
new
|
||
{
|
||
PostId = 2,
|
||
BlogUrl = "https://bangararaju.kottedi.in/blog",
|
||
Categories = "[\"Welcome\"]",
|
||
Comments = 0,
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9047),
|
||
Description = "Hello World",
|
||
Likes = 0,
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9045),
|
||
PostUrl = "https://bangararaju.kottedi.in/blog/hello-world",
|
||
Slug = "hello-world",
|
||
Title = "Hello World",
|
||
Views = 0
|
||
},
|
||
new
|
||
{
|
||
PostId = 3,
|
||
BlogUrl = "https://bangararaju.kottedi.in/blog",
|
||
Categories = "[\"Welcome\"]",
|
||
Comments = 0,
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9049),
|
||
Description = "Hello World",
|
||
Likes = 0,
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9048),
|
||
PostUrl = "https://bangararaju.kottedi.in/blog/hello-world",
|
||
Slug = "hello-world",
|
||
Title = "Hello World",
|
||
Views = 0
|
||
});
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.Project", b =>
|
||
{
|
||
b.Property<int>("ProjectId")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("ProjectId"));
|
||
|
||
b.Property<string>("Categories")
|
||
.IsRequired()
|
||
.HasMaxLength(200)
|
||
.HasColumnType("varchar(200)");
|
||
|
||
b.Property<string>("Challenges")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("varchar(200)");
|
||
|
||
b.Property<string>("CreatedBy")
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<DateTime?>("CreatedDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<string>("Description")
|
||
.IsRequired()
|
||
.HasMaxLength(500)
|
||
.HasColumnType("varchar(500)");
|
||
|
||
b.Property<DateTime?>("EndDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<string>("ImagePath")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("varchar(200)");
|
||
|
||
b.Property<string>("Impact")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("varchar(200)");
|
||
|
||
b.Property<string>("LessonsLearned")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("varchar(200)");
|
||
|
||
b.Property<string>("ModifiedBy")
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<DateTime?>("ModifiedDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<string>("Name")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("varchar(100)");
|
||
|
||
b.Property<string>("Responsibilities")
|
||
.IsRequired()
|
||
.HasMaxLength(200)
|
||
.HasColumnType("varchar(200)");
|
||
|
||
b.Property<int>("ResumeId")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Roles")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("varchar(100)");
|
||
|
||
b.Property<DateTime?>("StartDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<string>("Status")
|
||
.HasMaxLength(20)
|
||
.HasColumnType("varchar(20)");
|
||
|
||
b.Property<string>("TechnologiesUsed")
|
||
.IsRequired()
|
||
.HasMaxLength(200)
|
||
.HasColumnType("varchar(200)");
|
||
|
||
b.HasKey("ProjectId");
|
||
|
||
b.HasIndex("ResumeId");
|
||
|
||
b.ToTable("Projects");
|
||
|
||
b.HasData(
|
||
new
|
||
{
|
||
ProjectId = 1,
|
||
Categories = "[\"Web Development\"]",
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8997),
|
||
Description = "Business Process Management",
|
||
ImagePath = "bpm.jpg",
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8997),
|
||
Name = "Transfora (Business Process Management)",
|
||
Responsibilities = "Developing, Testing, Support",
|
||
ResumeId = 1,
|
||
Roles = "Coding, Reviewing, Testing",
|
||
TechnologiesUsed = ".NET, Angular"
|
||
},
|
||
new
|
||
{
|
||
ProjectId = 2,
|
||
Categories = "[\"Web Design\"]",
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9003),
|
||
Description = "Business Process Management",
|
||
ImagePath = "hcm.jpg",
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9003),
|
||
Name = "Human Captial Management",
|
||
Responsibilities = "Developing, Testing, Support",
|
||
ResumeId = 1,
|
||
Roles = "Coding, Reviewing, Testing",
|
||
TechnologiesUsed = ".NET, Angular"
|
||
},
|
||
new
|
||
{
|
||
ProjectId = 3,
|
||
Categories = "[\"Web Development\"]",
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9006),
|
||
Description = "Business Process Management",
|
||
ImagePath = "hms.png",
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(9006),
|
||
Name = "Transfora (Business Process Management)",
|
||
Responsibilities = "Hosting, Integrating, Monitoring",
|
||
ResumeId = 1,
|
||
Roles = "Integration, Monitor",
|
||
TechnologiesUsed = ".NET, Angular"
|
||
});
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.Resume", b =>
|
||
{
|
||
b.Property<int>("ResumeId")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("ResumeId"));
|
||
|
||
b.Property<string>("About")
|
||
.IsRequired()
|
||
.HasMaxLength(1000)
|
||
.HasColumnType("varchar(1000)");
|
||
|
||
b.Property<int>("CandidateId")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("CreatedBy")
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<DateTime?>("CreatedDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<string>("ModifiedBy")
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<DateTime?>("ModifiedDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<int>("Order")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Title")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("varchar(100)");
|
||
|
||
b.HasKey("ResumeId");
|
||
|
||
b.HasIndex("CandidateId");
|
||
|
||
b.ToTable("Resumes");
|
||
|
||
b.HasData(
|
||
new
|
||
{
|
||
ResumeId = 1,
|
||
About = "I'm Full Stack Developer with 8+ years of hands-on experience in .NET development. Passionate and driven professional with expertise in .NET WebAPI, Angular, CI/CD, and a growing proficiency in Azure. I've successfully delivered robust applications, prioritizing efficiency and user experience. While I'm currently in the early stages of exploring Azure, I'm eager to expand my skill set and leverage cloud technologies to enhance scalability and performance. Known for my proactive approach and dedication to continuous learning, I'm committed to staying abreast of the latest technologies and methodologies to drive innovation and deliver exceptional results.",
|
||
CandidateId = 1,
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8874),
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8874),
|
||
Order = 1,
|
||
Title = "Full Stack Developer"
|
||
});
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.ResumeFile", b =>
|
||
{
|
||
b.Property<int>("FileId")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("FileId"));
|
||
|
||
b.Property<string>("CreatedBy")
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<DateTime?>("CreatedDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<string>("FileFormat")
|
||
.IsRequired()
|
||
.HasMaxLength(50)
|
||
.HasColumnType("varchar(50)");
|
||
|
||
b.Property<string>("FileName")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("varchar(100)");
|
||
|
||
b.Property<string>("FilePath")
|
||
.IsRequired()
|
||
.HasMaxLength(100)
|
||
.HasColumnType("varchar(100)");
|
||
|
||
b.Property<string>("ModifiedBy")
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<DateTime?>("ModifiedDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<int>("ResumeId")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Version")
|
||
.HasMaxLength(10)
|
||
.HasColumnType("varchar(10)");
|
||
|
||
b.HasKey("FileId");
|
||
|
||
b.HasIndex("ResumeId")
|
||
.IsUnique();
|
||
|
||
b.ToTable("Files");
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.Skill", b =>
|
||
{
|
||
b.Property<int>("SkillId")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("SkillId"));
|
||
|
||
b.Property<string>("CreatedBy")
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<DateTime?>("CreatedDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<string>("Description")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("varchar(200)");
|
||
|
||
b.Property<string>("ModifiedBy")
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<DateTime?>("ModifiedDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<string>("Name")
|
||
.IsRequired()
|
||
.HasMaxLength(50)
|
||
.HasColumnType("varchar(50)");
|
||
|
||
b.Property<int>("ProficiencyLevel")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<int>("ResumeId")
|
||
.HasColumnType("int");
|
||
|
||
b.HasKey("SkillId");
|
||
|
||
b.HasIndex("ResumeId");
|
||
|
||
b.ToTable("Skills");
|
||
|
||
b.HasData(
|
||
new
|
||
{
|
||
SkillId = 1,
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8968),
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8968),
|
||
Name = "Web Development",
|
||
ProficiencyLevel = 80,
|
||
ResumeId = 1
|
||
},
|
||
new
|
||
{
|
||
SkillId = 2,
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8971),
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8972),
|
||
Name = "Web Development",
|
||
ProficiencyLevel = 80,
|
||
ResumeId = 1
|
||
},
|
||
new
|
||
{
|
||
SkillId = 3,
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8973),
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8973),
|
||
Name = "Web Development",
|
||
ProficiencyLevel = 80,
|
||
ResumeId = 1
|
||
},
|
||
new
|
||
{
|
||
SkillId = 4,
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8974),
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8974),
|
||
Name = "Web Development",
|
||
ProficiencyLevel = 80,
|
||
ResumeId = 1
|
||
},
|
||
new
|
||
{
|
||
SkillId = 5,
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8975),
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8976),
|
||
Name = "Web Development",
|
||
ProficiencyLevel = 80,
|
||
ResumeId = 1
|
||
});
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.SocialLinks", b =>
|
||
{
|
||
b.Property<int>("Id")
|
||
.ValueGeneratedOnAdd()
|
||
.HasColumnType("int");
|
||
|
||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||
|
||
b.Property<string>("BlogUrl")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("varchar(200)");
|
||
|
||
b.Property<string>("CreatedBy")
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<DateTime?>("CreatedDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<string>("Facebook")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("varchar(200)");
|
||
|
||
b.Property<string>("GitHub")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("varchar(200)");
|
||
|
||
b.Property<string>("Instagram")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("varchar(200)");
|
||
|
||
b.Property<string>("Linkedin")
|
||
.IsRequired()
|
||
.HasMaxLength(200)
|
||
.HasColumnType("varchar(200)");
|
||
|
||
b.Property<string>("ModifiedBy")
|
||
.HasColumnType("longtext");
|
||
|
||
b.Property<DateTime?>("ModifiedDate")
|
||
.HasColumnType("datetime(6)");
|
||
|
||
b.Property<string>("PersonalWebsite")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("varchar(200)");
|
||
|
||
b.Property<int>("ResumeId")
|
||
.HasColumnType("int");
|
||
|
||
b.Property<string>("Twitter")
|
||
.HasMaxLength(200)
|
||
.HasColumnType("varchar(200)");
|
||
|
||
b.HasKey("Id");
|
||
|
||
b.HasIndex("BlogUrl");
|
||
|
||
b.HasIndex("ResumeId")
|
||
.IsUnique();
|
||
|
||
b.ToTable("SocialLinks");
|
||
|
||
b.HasData(
|
||
new
|
||
{
|
||
Id = 1,
|
||
BlogUrl = "https://bangararaju.kottedi.in/blog",
|
||
CreatedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8894),
|
||
GitHub = "https://github.com/rajukottedi",
|
||
Linkedin = "https://in.linkedin.com/in/bangara-raju-kottedi-299072109",
|
||
ModifiedDate = new DateTime(2024, 5, 7, 23, 8, 7, 980, DateTimeKind.Local).AddTicks(8895),
|
||
ResumeId = 1
|
||
});
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.Academic", b =>
|
||
{
|
||
b.HasOne("PortBlog.API.Entities.Resume", "Resume")
|
||
.WithMany("Academics")
|
||
.HasForeignKey("ResumeId")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
|
||
b.Navigation("Resume");
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.Certification", b =>
|
||
{
|
||
b.HasOne("PortBlog.API.Entities.Resume", "Resume")
|
||
.WithMany("Certifications")
|
||
.HasForeignKey("ResumeId")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
|
||
b.Navigation("Resume");
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.Experience", b =>
|
||
{
|
||
b.HasOne("PortBlog.API.Entities.Resume", "Resume")
|
||
.WithMany("Experiences")
|
||
.HasForeignKey("ResumeId")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
|
||
b.Navigation("Resume");
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.ExperienceDetails", b =>
|
||
{
|
||
b.HasOne("PortBlog.API.Entities.Experience", "Experience")
|
||
.WithMany("Details")
|
||
.HasForeignKey("ExperienceId")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
|
||
b.Navigation("Experience");
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.Hobby", b =>
|
||
{
|
||
b.HasOne("PortBlog.API.Entities.Resume", "Resume")
|
||
.WithMany("Hobbies")
|
||
.HasForeignKey("ResumeId")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
|
||
b.Navigation("Resume");
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.Message", b =>
|
||
{
|
||
b.HasOne("PortBlog.API.Entities.Candidate", "Candidate")
|
||
.WithMany()
|
||
.HasForeignKey("CandidateId")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
|
||
b.Navigation("Candidate");
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.Post", b =>
|
||
{
|
||
b.HasOne("PortBlog.API.Entities.Blog", "Blog")
|
||
.WithMany("Posts")
|
||
.HasForeignKey("BlogUrl")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
|
||
b.Navigation("Blog");
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.Project", b =>
|
||
{
|
||
b.HasOne("PortBlog.API.Entities.Resume", "Resume")
|
||
.WithMany("Projects")
|
||
.HasForeignKey("ResumeId")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
|
||
b.Navigation("Resume");
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.Resume", b =>
|
||
{
|
||
b.HasOne("PortBlog.API.Entities.Candidate", "Candidate")
|
||
.WithMany("Resumes")
|
||
.HasForeignKey("CandidateId")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
|
||
b.Navigation("Candidate");
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.ResumeFile", b =>
|
||
{
|
||
b.HasOne("PortBlog.API.Entities.Resume", "Resume")
|
||
.WithOne("ResumeFile")
|
||
.HasForeignKey("PortBlog.API.Entities.ResumeFile", "ResumeId")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
|
||
b.Navigation("Resume");
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.Skill", b =>
|
||
{
|
||
b.HasOne("PortBlog.API.Entities.Resume", "Resume")
|
||
.WithMany("Skills")
|
||
.HasForeignKey("ResumeId")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
|
||
b.Navigation("Resume");
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.SocialLinks", b =>
|
||
{
|
||
b.HasOne("PortBlog.API.Entities.Blog", "Blog")
|
||
.WithMany()
|
||
.HasForeignKey("BlogUrl");
|
||
|
||
b.HasOne("PortBlog.API.Entities.Resume", "Resume")
|
||
.WithOne("SocialLinks")
|
||
.HasForeignKey("PortBlog.API.Entities.SocialLinks", "ResumeId")
|
||
.OnDelete(DeleteBehavior.Cascade)
|
||
.IsRequired();
|
||
|
||
b.Navigation("Blog");
|
||
|
||
b.Navigation("Resume");
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.Blog", b =>
|
||
{
|
||
b.Navigation("Posts");
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.Candidate", b =>
|
||
{
|
||
b.Navigation("Resumes");
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.Experience", b =>
|
||
{
|
||
b.Navigation("Details");
|
||
});
|
||
|
||
modelBuilder.Entity("PortBlog.API.Entities.Resume", b =>
|
||
{
|
||
b.Navigation("Academics");
|
||
|
||
b.Navigation("Certifications");
|
||
|
||
b.Navigation("Experiences");
|
||
|
||
b.Navigation("Hobbies");
|
||
|
||
b.Navigation("Projects");
|
||
|
||
b.Navigation("ResumeFile");
|
||
|
||
b.Navigation("Skills");
|
||
|
||
b.Navigation("SocialLinks");
|
||
});
|
||
#pragma warning restore 612, 618
|
||
}
|
||
}
|
||
}
|