317 lines
9.5 KiB
C#
317 lines
9.5 KiB
C#
// <auto-generated />
|
|
using System;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
using OFBButte.Database;
|
|
|
|
namespace OFBButte.Database.Migrations
|
|
{
|
|
[DbContext(typeof(OFBContext))]
|
|
partial class OFBContextModelSnapshot : ModelSnapshot
|
|
{
|
|
protected override void BuildModel(ModelBuilder modelBuilder)
|
|
{
|
|
#pragma warning disable 612, 618
|
|
modelBuilder
|
|
.HasAnnotation("ProductVersion", "2.2.6-servicing-10079")
|
|
.HasAnnotation("Relational:MaxIdentifierLength", 64);
|
|
|
|
modelBuilder.Entity("OFBButte.Entities.EmailVerificationCode", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd();
|
|
|
|
b.Property<string>("Code");
|
|
|
|
b.Property<DateTime>("CreatedDate");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("EmailVerificationCodes");
|
|
});
|
|
|
|
modelBuilder.Entity("OFBButte.Entities.MissionaryChild", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd();
|
|
|
|
b.Property<int?>("MissionarySupportId");
|
|
|
|
b.Property<string>("Name");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasIndex("MissionarySupportId");
|
|
|
|
b.ToTable("MissionaryChild");
|
|
});
|
|
|
|
modelBuilder.Entity("OFBButte.Entities.MissionaryCollegeRecommendation", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd();
|
|
|
|
b.Property<int?>("MissionarySupportId");
|
|
|
|
b.Property<string>("Name");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasIndex("MissionarySupportId");
|
|
|
|
b.ToTable("MissionaryCollegeRecommendation");
|
|
});
|
|
|
|
modelBuilder.Entity("OFBButte.Entities.MissionarySupport", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd();
|
|
|
|
b.Property<string>("AdmittedWrong");
|
|
|
|
b.Property<bool>("Alcohol");
|
|
|
|
b.Property<string>("AloneOrTeam");
|
|
|
|
b.Property<string>("BibleVersionOpinion");
|
|
|
|
b.Property<string>("BibleVersionsUsed");
|
|
|
|
b.Property<string>("BillsOnTime");
|
|
|
|
b.Property<string>("CallToField");
|
|
|
|
b.Property<string>("CellPhone");
|
|
|
|
b.Property<string>("Charasmaticism");
|
|
|
|
b.Property<int>("ChildrenSchool");
|
|
|
|
b.Property<bool>("ContemporaryMusic");
|
|
|
|
b.Property<string>("CorrectWrongOfAnotherMissionary");
|
|
|
|
b.Property<decimal>("CurrentMonthlySupport");
|
|
|
|
b.Property<int>("DailyBible");
|
|
|
|
b.Property<bool>("Dance");
|
|
|
|
b.Property<bool>("Divorced");
|
|
|
|
b.Property<string>("EvaluationOfNationals");
|
|
|
|
b.Property<string>("FellowshipAssociation");
|
|
|
|
b.Property<bool>("FemaleDressStandard");
|
|
|
|
b.Property<int>("FemaleShorts");
|
|
|
|
b.Property<int>("FemaleSlacks");
|
|
|
|
b.Property<string>("FieldOfService");
|
|
|
|
b.Property<string>("FieldPhone");
|
|
|
|
b.Property<string>("FinancialStatementPrevYear");
|
|
|
|
b.Property<bool>("Fundamentalist");
|
|
|
|
b.Property<bool>("GroundsForRemarry");
|
|
|
|
b.Property<string>("HomePhone");
|
|
|
|
b.Property<string>("LateBillActionTaken");
|
|
|
|
b.Property<string>("LateBills");
|
|
|
|
b.Property<bool>("MaleHair");
|
|
|
|
b.Property<bool>("MarryADivorcee");
|
|
|
|
b.Property<bool>("MasonicLodge");
|
|
|
|
b.Property<decimal>("MonthlySupportNeeded");
|
|
|
|
b.Property<bool>("MovieTheaters");
|
|
|
|
b.Property<string>("Name");
|
|
|
|
b.Property<double>("NumberLedToChrist");
|
|
|
|
b.Property<double>("NumberWeeklyTracts");
|
|
|
|
b.Property<double>("NumberWitnessedTo");
|
|
|
|
b.Property<string>("Plans");
|
|
|
|
b.Property<string>("PotentialHarvest");
|
|
|
|
b.Property<string>("Predestination");
|
|
|
|
b.Property<string>("RateOfSuccess");
|
|
|
|
b.Property<string>("RepentanceDefinition");
|
|
|
|
b.Property<bool>("RepentanceNecessary");
|
|
|
|
b.Property<string>("RestAndRelaxation");
|
|
|
|
b.Property<string>("SendingChurch");
|
|
|
|
b.Property<bool>("Smoking");
|
|
|
|
b.Property<string>("SwimmingClothing");
|
|
|
|
b.Property<string>("Television");
|
|
|
|
b.Property<string>("Testimony");
|
|
|
|
b.Property<string>("TimeInCountry");
|
|
|
|
b.Property<bool>("Tongues");
|
|
|
|
b.Property<string>("WifesName");
|
|
|
|
b.Property<bool>("WorldlyMusic");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("MissionarySupportForms");
|
|
});
|
|
|
|
modelBuilder.Entity("OFBButte.Entities.PasswordResetCode", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd();
|
|
|
|
b.Property<string>("Code");
|
|
|
|
b.Property<DateTime>("CreatedDate");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("PasswordResetCodes");
|
|
});
|
|
|
|
modelBuilder.Entity("OFBButte.Entities.Profile", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd();
|
|
|
|
b.Property<string>("City");
|
|
|
|
b.Property<string>("Country");
|
|
|
|
b.Property<string>("FirstName");
|
|
|
|
b.Property<string>("LastName");
|
|
|
|
b.Property<DateTime>("ModifiedDate");
|
|
|
|
b.Property<int?>("ProfileFederationCodeId");
|
|
|
|
b.Property<string>("State");
|
|
|
|
b.Property<string>("Street");
|
|
|
|
b.Property<string>("Zip");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasIndex("ProfileFederationCodeId");
|
|
|
|
b.ToTable("Profiles");
|
|
});
|
|
|
|
modelBuilder.Entity("OFBButte.Entities.ProfileFederationCode", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd();
|
|
|
|
b.Property<string>("Code");
|
|
|
|
b.Property<DateTime>("CreatedDate");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("ProfileFederationCodes");
|
|
});
|
|
|
|
modelBuilder.Entity("OFBButte.Entities.User", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd();
|
|
|
|
b.Property<DateTime>("CreatedDate");
|
|
|
|
b.Property<DateTime?>("DeletedDate");
|
|
|
|
b.Property<string>("Email")
|
|
.IsRequired();
|
|
|
|
b.Property<int?>("EmailVerificationCodeId");
|
|
|
|
b.Property<DateTime?>("EmailVerifiedDate");
|
|
|
|
b.Property<int?>("PassswordResetCodeId");
|
|
|
|
b.Property<string>("Password")
|
|
.IsRequired();
|
|
|
|
b.Property<int?>("ProfileId");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasIndex("Email");
|
|
|
|
b.HasIndex("EmailVerificationCodeId");
|
|
|
|
b.HasIndex("PassswordResetCodeId");
|
|
|
|
b.HasIndex("ProfileId");
|
|
|
|
b.ToTable("Users");
|
|
});
|
|
|
|
modelBuilder.Entity("OFBButte.Entities.MissionaryChild", b =>
|
|
{
|
|
b.HasOne("OFBButte.Entities.MissionarySupport")
|
|
.WithMany("Children")
|
|
.HasForeignKey("MissionarySupportId");
|
|
});
|
|
|
|
modelBuilder.Entity("OFBButte.Entities.MissionaryCollegeRecommendation", b =>
|
|
{
|
|
b.HasOne("OFBButte.Entities.MissionarySupport")
|
|
.WithMany("CollegeRecommendations")
|
|
.HasForeignKey("MissionarySupportId");
|
|
});
|
|
|
|
modelBuilder.Entity("OFBButte.Entities.Profile", b =>
|
|
{
|
|
b.HasOne("OFBButte.Entities.ProfileFederationCode", "ProfileFederationCode")
|
|
.WithMany()
|
|
.HasForeignKey("ProfileFederationCodeId");
|
|
});
|
|
|
|
modelBuilder.Entity("OFBButte.Entities.User", b =>
|
|
{
|
|
b.HasOne("OFBButte.Entities.EmailVerificationCode", "EmailVerificationCode")
|
|
.WithMany()
|
|
.HasForeignKey("EmailVerificationCodeId");
|
|
|
|
b.HasOne("OFBButte.Entities.PasswordResetCode", "PassswordResetCode")
|
|
.WithMany()
|
|
.HasForeignKey("PassswordResetCodeId");
|
|
|
|
b.HasOne("OFBButte.Entities.Profile", "Profile")
|
|
.WithMany()
|
|
.HasForeignKey("ProfileId");
|
|
});
|
|
#pragma warning restore 612, 618
|
|
}
|
|
}
|
|
}
|