//
using System;
using Brizco.Repository.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
#nullable disable
namespace Brizco.Repository.Migrations
{
[DbContext(typeof(ApplicationContext))]
[Migration("20240726144318_EditShiftPlanAddIsScheduled")]
partial class EditShiftPlanAddIsScheduled
{
///
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasDefaultSchema("public")
.HasAnnotation("ProductVersion", "8.0.6")
.HasAnnotation("Relational:MaxIdentifierLength", 63);
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
modelBuilder.Entity("Brizco.Domain.Entities.Complexes.Complex", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uuid");
b.Property("Address")
.IsRequired()
.HasColumnType("text");
b.Property("CreatedAt")
.HasColumnType("timestamp without time zone");
b.Property("CreatedBy")
.IsRequired()
.HasColumnType("text");
b.Property("IsRemoved")
.HasColumnType("boolean");
b.Property("ModifiedAt")
.HasColumnType("timestamp without time zone");
b.Property("ModifiedBy")
.IsRequired()
.HasColumnType("text");
b.Property("Name")
.IsRequired()
.HasColumnType("text");
b.Property("RemovedAt")
.HasColumnType("timestamp without time zone");
b.Property("RemovedBy")
.IsRequired()
.HasColumnType("text");
b.Property("SupportPhone")
.IsRequired()
.HasColumnType("text");
b.HasKey("Id");
b.ToTable("Complexes", "public");
});
modelBuilder.Entity("Brizco.Domain.Entities.Complexes.ComplexUser", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uuid");
b.Property("ComplexId")
.HasColumnType("uuid");
b.Property("CreatedAt")
.HasColumnType("timestamp without time zone");
b.Property("CreatedBy")
.IsRequired()
.HasColumnType("text");
b.Property("IsRemoved")
.HasColumnType("boolean");
b.Property("ModifiedAt")
.HasColumnType("timestamp without time zone");
b.Property("ModifiedBy")
.IsRequired()
.HasColumnType("text");
b.Property("RemovedAt")
.HasColumnType("timestamp without time zone");
b.Property("RemovedBy")
.IsRequired()
.HasColumnType("text");
b.Property("UserId")
.HasColumnType("uuid");
b.HasKey("Id");
b.HasIndex("ComplexId");
b.HasIndex("UserId");
b.ToTable("ComplexUsers", "public");
});
modelBuilder.Entity("Brizco.Domain.Entities.Complexes.ComplexUserRole", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uuid");
b.Property("ComplexUserId")
.HasColumnType("uuid");
b.Property("CreatedAt")
.HasColumnType("timestamp without time zone");
b.Property("CreatedBy")
.IsRequired()
.HasColumnType("text");
b.Property("IsRemoved")
.HasColumnType("boolean");
b.Property("ModifiedAt")
.HasColumnType("timestamp without time zone");
b.Property("ModifiedBy")
.IsRequired()
.HasColumnType("text");
b.Property("RemovedAt")
.HasColumnType("timestamp without time zone");
b.Property("RemovedBy")
.IsRequired()
.HasColumnType("text");
b.Property("RoleId")
.HasColumnType("uuid");
b.HasKey("Id");
b.HasIndex("ComplexUserId");
b.HasIndex("RoleId");
b.ToTable("ComplexUserRoles", "public");
});
modelBuilder.Entity("Brizco.Domain.Entities.Complexes.Position", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uuid");
b.Property("ComplexId")
.HasColumnType("uuid");
b.Property("CreatedAt")
.HasColumnType("timestamp without time zone");
b.Property("CreatedBy")
.IsRequired()
.HasColumnType("text");
b.Property("Description")
.IsRequired()
.HasColumnType("text");
b.Property("IsRemoved")
.HasColumnType("boolean");
b.Property("ModifiedAt")
.HasColumnType("timestamp without time zone");
b.Property("ModifiedBy")
.IsRequired()
.HasColumnType("text");
b.Property("Name")
.IsRequired()
.HasColumnType("text");
b.Property("RemovedAt")
.HasColumnType("timestamp without time zone");
b.Property("RemovedBy")
.IsRequired()
.HasColumnType("text");
b.Property("SectionId")
.HasColumnType("uuid");
b.HasKey("Id");
b.HasIndex("ComplexId");
b.HasIndex("SectionId");
b.ToTable("Positions", "public");
});
modelBuilder.Entity("Brizco.Domain.Entities.Complexes.PositionPermission", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uuid");
b.Property("CreatedAt")
.HasColumnType("timestamp without time zone");
b.Property("CreatedBy")
.IsRequired()
.HasColumnType("text");
b.Property("IsRemoved")
.HasColumnType("boolean");
b.Property("ModifiedAt")
.HasColumnType("timestamp without time zone");
b.Property("ModifiedBy")
.IsRequired()
.HasColumnType("text");
b.Property("Permission")
.IsRequired()
.HasColumnType("text");
b.Property("PositionId")
.HasColumnType("uuid");
b.Property("RemovedAt")
.HasColumnType("timestamp without time zone");
b.Property("RemovedBy")
.IsRequired()
.HasColumnType("text");
b.HasKey("Id");
b.HasIndex("PositionId");
b.ToTable("PositionPermissions", "public");
});
modelBuilder.Entity("Brizco.Domain.Entities.Complexes.Section", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uuid");
b.Property("ComplexId")
.HasColumnType("uuid");
b.Property("CreatedAt")
.HasColumnType("timestamp without time zone");
b.Property("CreatedBy")
.IsRequired()
.HasColumnType("text");
b.Property("Description")
.IsRequired()
.HasColumnType("text");
b.Property("IsRemoved")
.HasColumnType("boolean");
b.Property("ModifiedAt")
.HasColumnType("timestamp without time zone");
b.Property("ModifiedBy")
.IsRequired()
.HasColumnType("text");
b.Property("Name")
.IsRequired()
.HasColumnType("text");
b.Property("RemovedAt")
.HasColumnType("timestamp without time zone");
b.Property("RemovedBy")
.IsRequired()
.HasColumnType("text");
b.HasKey("Id");
b.HasIndex("ComplexId");
b.ToTable("Sections", "public");
});
modelBuilder.Entity("Brizco.Domain.Entities.Routines.Routine", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uuid");
b.Property("ComplexId")
.HasColumnType("uuid");
b.Property("CreatedAt")
.HasColumnType("timestamp without time zone");
b.Property("CreatedBy")
.IsRequired()
.HasColumnType("text");
b.Property("Description")
.IsRequired()
.HasColumnType("text");
b.Property("IsRemoved")
.HasColumnType("boolean");
b.Property("ModifiedAt")
.HasColumnType("timestamp without time zone");
b.Property("ModifiedBy")
.IsRequired()
.HasColumnType("text");
b.Property("Name")
.IsRequired()
.HasColumnType("text");
b.Property("RemovedAt")
.HasColumnType("timestamp without time zone");
b.Property("RemovedBy")
.IsRequired()
.HasColumnType("text");
b.HasKey("Id");
b.HasIndex("ComplexId");
b.ToTable("Routines", "public");
});
modelBuilder.Entity("Brizco.Domain.Entities.ShiftPlans.ShiftPlan", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uuid");
b.Property("CompleteDescription")
.IsRequired()
.HasColumnType("text");
b.Property("CompletePercent")
.HasColumnType("integer");
b.Property("ComplexId")
.HasColumnType("uuid");
b.Property("CreatedAt")
.HasColumnType("timestamp without time zone");
b.Property("CreatedBy")
.IsRequired()
.HasColumnType("text");
b.Property("IsCompleted")
.HasColumnType("boolean");
b.Property("IsRemoved")
.HasColumnType("boolean");
b.Property("IsScheduled")
.HasColumnType("boolean");
b.Property("ModifiedAt")
.HasColumnType("timestamp without time zone");
b.Property("ModifiedBy")
.IsRequired()
.HasColumnType("text");
b.Property("PlanFor")
.HasColumnType("timestamp without time zone");
b.Property("RemovedAt")
.HasColumnType("timestamp without time zone");
b.Property("RemovedBy")
.IsRequired()
.HasColumnType("text");
b.Property("RoutineId")
.HasColumnType("uuid");
b.Property("ShiftId")
.HasColumnType("uuid");
b.Property("SupervisorId")
.HasColumnType("uuid");
b.HasKey("Id");
b.HasIndex("ComplexId");
b.HasIndex("RoutineId");
b.HasIndex("ShiftId");
b.HasIndex("SupervisorId");
b.ToTable("ShiftPlans", "public");
});
modelBuilder.Entity("Brizco.Domain.Entities.ShiftPlans.ShiftPlanUser", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uuid");
b.Property("CreatedAt")
.HasColumnType("timestamp without time zone");
b.Property("CreatedBy")
.IsRequired()
.HasColumnType("text");
b.Property("IsRemoved")
.HasColumnType("boolean");
b.Property("ModifiedAt")
.HasColumnType("timestamp without time zone");
b.Property("ModifiedBy")
.IsRequired()
.HasColumnType("text");
b.Property("PositionId")
.HasColumnType("uuid");
b.Property("RemovedAt")
.HasColumnType("timestamp without time zone");
b.Property("RemovedBy")
.IsRequired()
.HasColumnType("text");
b.Property("ShiftPlanId")
.HasColumnType("uuid");
b.Property("UserId")
.HasColumnType("uuid");
b.HasKey("Id");
b.HasIndex("PositionId");
b.HasIndex("ShiftPlanId");
b.HasIndex("UserId");
b.ToTable("ShiftPlanUsers", "public");
});
modelBuilder.Entity("Brizco.Domain.Entities.Shifts.Shift", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uuid");
b.Property("ComplexId")
.HasColumnType("uuid");
b.Property("CreatedAt")
.HasColumnType("timestamp without time zone");
b.Property("CreatedBy")
.IsRequired()
.HasColumnType("text");
b.Property("Description")
.IsRequired()
.HasColumnType("text");
b.Property("EndAt")
.HasColumnType("interval");
b.Property("IsRemoved")
.HasColumnType("boolean");
b.Property("ModifiedAt")
.HasColumnType("timestamp without time zone");
b.Property("ModifiedBy")
.IsRequired()
.HasColumnType("text");
b.Property("RemovedAt")
.HasColumnType("timestamp without time zone");
b.Property("RemovedBy")
.IsRequired()
.HasColumnType("text");
b.Property("StartAt")
.HasColumnType("interval");
b.Property("Title")
.IsRequired()
.HasColumnType("text");
b.HasKey("Id");
b.HasIndex("ComplexId");
b.ToTable("Shifts", "public");
});
modelBuilder.Entity("Brizco.Domain.Entities.Shifts.ShiftDay", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uuid");
b.Property("CreatedAt")
.HasColumnType("timestamp without time zone");
b.Property("CreatedBy")
.IsRequired()
.HasColumnType("text");
b.Property("DayOfWeek")
.HasColumnType("integer");
b.Property("IsRemoved")
.HasColumnType("boolean");
b.Property("ModifiedAt")
.HasColumnType("timestamp without time zone");
b.Property("ModifiedBy")
.IsRequired()
.HasColumnType("text");
b.Property("RemovedAt")
.HasColumnType("timestamp without time zone");
b.Property("RemovedBy")
.IsRequired()
.HasColumnType("text");
b.Property("ShiftId")
.HasColumnType("uuid");
b.HasKey("Id");
b.HasIndex("ShiftId");
b.ToTable("ShiftDays", "public");
});
modelBuilder.Entity("Brizco.Domain.Entities.Shifts.ShiftRoutine", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uuid");
b.Property("CreatedAt")
.HasColumnType("timestamp without time zone");
b.Property("CreatedBy")
.IsRequired()
.HasColumnType("text");
b.Property("IsRemoved")
.HasColumnType("boolean");
b.Property("ModifiedAt")
.HasColumnType("timestamp without time zone");
b.Property("ModifiedBy")
.IsRequired()
.HasColumnType("text");
b.Property("RemovedAt")
.HasColumnType("timestamp without time zone");
b.Property("RemovedBy")
.IsRequired()
.HasColumnType("text");
b.Property("RoutineId")
.HasColumnType("uuid");
b.Property("ShiftId")
.HasColumnType("uuid");
b.HasKey("Id");
b.HasIndex("RoutineId");
b.HasIndex("ShiftId");
b.ToTable("ShiftRoutines", "public");
});
modelBuilder.Entity("Brizco.Domain.Entities.Tasks.Task", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uuid");
b.Property("Amount")
.HasColumnType("integer");
b.Property("AmountType")
.HasColumnType("integer");
b.Property("ComplexId")
.HasColumnType("uuid");
b.Property("CreatedAt")
.HasColumnType("timestamp without time zone");
b.Property("CreatedBy")
.IsRequired()
.HasColumnType("text");
b.Property("Description")
.IsRequired()
.HasColumnType("text");
b.Property("Discriminator")
.IsRequired()
.HasMaxLength(8)
.HasColumnType("character varying(8)");
b.Property("HasDisposed")
.HasColumnType("boolean");
b.Property("IsActivity")
.HasColumnType("boolean");
b.Property("IsDisposable")
.HasColumnType("boolean");
b.Property("IsRemoved")
.HasColumnType("boolean");
b.Property("ModifiedAt")
.HasColumnType("timestamp without time zone");
b.Property("ModifiedBy")
.IsRequired()
.HasColumnType("text");
b.Property("RemovedAt")
.HasColumnType("timestamp without time zone");
b.Property("RemovedBy")
.IsRequired()
.HasColumnType("text");
b.Property("ScheduleType")
.HasColumnType("integer");
b.Property("SetFor")
.HasColumnType("timestamp without time zone");
b.Property("Title")
.IsRequired()
.HasColumnType("text");
b.Property("Type")
.HasColumnType("integer");
b.HasKey("Id");
b.HasIndex("ComplexId");
b.ToTable("Tasks", "public");
b.HasDiscriminator("Discriminator").HasValue("Task");
b.UseTphMappingStrategy();
});
modelBuilder.Entity("Brizco.Domain.Entities.Tasks.TaskDay", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uuid");
b.Property("CreatedAt")
.HasColumnType("timestamp without time zone");
b.Property("CreatedBy")
.IsRequired()
.HasColumnType("text");
b.Property("DayOfWeek")
.HasColumnType("integer");
b.Property("IsRemoved")
.HasColumnType("boolean");
b.Property("ModifiedAt")
.HasColumnType("timestamp without time zone");
b.Property("ModifiedBy")
.IsRequired()
.HasColumnType("text");
b.Property("RemovedAt")
.HasColumnType("timestamp without time zone");
b.Property("RemovedBy")
.IsRequired()
.HasColumnType("text");
b.Property("TaskId")
.HasColumnType("uuid");
b.HasKey("Id");
b.HasIndex("TaskId");
b.ToTable("TaskDays", "public");
});
modelBuilder.Entity("Brizco.Domain.Entities.Tasks.TaskPosition", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uuid");
b.Property("CreatedAt")
.HasColumnType("timestamp without time zone");
b.Property("CreatedBy")
.IsRequired()
.HasColumnType("text");
b.Property("IsRemoved")
.HasColumnType("boolean");
b.Property("ModifiedAt")
.HasColumnType("timestamp without time zone");
b.Property("ModifiedBy")
.IsRequired()
.HasColumnType("text");
b.Property("PositionId")
.HasColumnType("uuid");
b.Property("RemovedAt")
.HasColumnType("timestamp without time zone");
b.Property("RemovedBy")
.IsRequired()
.HasColumnType("text");
b.Property("TaskId")
.HasColumnType("uuid");
b.HasKey("Id");
b.HasIndex("PositionId");
b.HasIndex("TaskId");
b.ToTable("TaskPositions", "public");
});
modelBuilder.Entity("Brizco.Domain.Entities.Tasks.TaskRoutine", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uuid");
b.Property("CreatedAt")
.HasColumnType("timestamp without time zone");
b.Property("CreatedBy")
.IsRequired()
.HasColumnType("text");
b.Property("IsRemoved")
.HasColumnType("boolean");
b.Property("ModifiedAt")
.HasColumnType("timestamp without time zone");
b.Property("ModifiedBy")
.IsRequired()
.HasColumnType("text");
b.Property("RemovedAt")
.HasColumnType("timestamp without time zone");
b.Property("RemovedBy")
.IsRequired()
.HasColumnType("text");
b.Property("RoutineId")
.HasColumnType("uuid");
b.Property("TaskId")
.HasColumnType("uuid");
b.HasKey("Id");
b.HasIndex("RoutineId");
b.HasIndex("TaskId");
b.ToTable("TaskRoutines", "public");
});
modelBuilder.Entity("Brizco.Domain.Entities.Tasks.TaskShift", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uuid");
b.Property("CreatedAt")
.HasColumnType("timestamp without time zone");
b.Property("CreatedBy")
.IsRequired()
.HasColumnType("text");
b.Property("IsRemoved")
.HasColumnType("boolean");
b.Property("ModifiedAt")
.HasColumnType("timestamp without time zone");
b.Property("ModifiedBy")
.IsRequired()
.HasColumnType("text");
b.Property("RemovedAt")
.HasColumnType("timestamp without time zone");
b.Property("RemovedBy")
.IsRequired()
.HasColumnType("text");
b.Property("ShiftId")
.HasColumnType("uuid");
b.Property("TaskId")
.HasColumnType("uuid");
b.HasKey("Id");
b.HasIndex("ShiftId");
b.HasIndex("TaskId");
b.ToTable("TaskShifts", "public");
});
modelBuilder.Entity("Brizco.Domain.Entities.Users.ApplicationRole", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uuid");
b.Property("ComplexId")
.HasColumnType("uuid");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.HasColumnType("text");
b.Property("Description")
.IsRequired()
.HasColumnType("text");
b.Property("EnglishName")
.IsRequired()
.HasColumnType("text");
b.Property("Name")
.HasMaxLength(256)
.HasColumnType("character varying(256)");
b.Property("NormalizedName")
.HasMaxLength(256)
.HasColumnType("character varying(256)");
b.Property("PersianName")
.IsRequired()
.HasColumnType("text");
b.HasKey("Id");
b.HasIndex("ComplexId");
b.HasIndex("NormalizedName")
.IsUnique()
.HasDatabaseName("RoleNameIndex");
b.ToTable("Roles", "public");
});
modelBuilder.Entity("Brizco.Domain.Entities.Users.ApplicationUser", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uuid");
b.Property("AccessFailedCount")
.HasColumnType("integer");
b.Property("BirthDate")
.HasColumnType("timestamp without time zone");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.HasColumnType("text");
b.Property("Email")
.HasMaxLength(256)
.HasColumnType("character varying(256)");
b.Property("EmailConfirmed")
.HasColumnType("boolean");
b.Property("FirstName")
.IsRequired()
.HasColumnType("text");
b.Property("Gender")
.HasColumnType("integer");
b.Property("LastName")
.IsRequired()
.HasColumnType("text");
b.Property("LockoutEnabled")
.HasColumnType("boolean");
b.Property("LockoutEnd")
.HasColumnType("timestamp with time zone");
b.Property("NationalId")
.IsRequired()
.HasColumnType("text");
b.Property("NormalizedEmail")
.HasMaxLength(256)
.HasColumnType("character varying(256)");
b.Property("NormalizedUserName")
.HasMaxLength(256)
.HasColumnType("character varying(256)");
b.Property("PasswordHash")
.HasColumnType("text");
b.Property("PhoneNumber")
.HasColumnType("text");
b.Property("PhoneNumberConfirmed")
.HasColumnType("boolean");
b.Property("SecurityStamp")
.HasColumnType("text");
b.Property("SelectedComplexUserRoleId")
.HasColumnType("uuid");
b.Property("SignUpStatus")
.HasColumnType("integer");
b.Property("TwoFactorEnabled")
.HasColumnType("boolean");
b.Property("UserName")
.HasMaxLength(256)
.HasColumnType("character varying(256)");
b.HasKey("Id");
b.HasIndex("NormalizedEmail")
.HasDatabaseName("EmailIndex");
b.HasIndex("NormalizedUserName")
.IsUnique()
.HasDatabaseName("UserNameIndex");
b.ToTable("Users", "public");
});
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityRoleClaim", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("integer");
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id"));
b.Property("ClaimType")
.HasColumnType("text");
b.Property("ClaimValue")
.HasColumnType("text");
b.Property("RoleId")
.HasColumnType("uuid");
b.HasKey("Id");
b.HasIndex("RoleId");
b.ToTable("RoleClaims", "public");
});
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserClaim", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("integer");
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id"));
b.Property("ClaimType")
.HasColumnType("text");
b.Property("ClaimValue")
.HasColumnType("text");
b.Property("UserId")
.HasColumnType("uuid");
b.HasKey("Id");
b.HasIndex("UserId");
b.ToTable("Claims", "public");
});
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserLogin", b =>
{
b.Property("LoginProvider")
.HasColumnType("text");
b.Property("ProviderKey")
.HasColumnType("text");
b.Property("ProviderDisplayName")
.HasColumnType("text");
b.Property("UserId")
.HasColumnType("uuid");
b.HasKey("LoginProvider", "ProviderKey");
b.HasIndex("UserId");
b.ToTable("Logins", "public");
});
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserRole", b =>
{
b.Property("UserId")
.HasColumnType("uuid");
b.Property("RoleId")
.HasColumnType("uuid");
b.HasKey("UserId", "RoleId");
b.HasIndex("RoleId");
b.ToTable("UserRoles", "public");
});
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserToken", b =>
{
b.Property("UserId")
.HasColumnType("uuid");
b.Property("LoginProvider")
.HasColumnType("text");
b.Property("Name")
.HasColumnType("text");
b.Property("Value")
.HasColumnType("text");
b.HasKey("UserId", "LoginProvider", "Name");
b.ToTable("Tokens", "public");
});
modelBuilder.Entity("Brizco.Domain.Entities.Tasks.Activity", b =>
{
b.HasBaseType("Brizco.Domain.Entities.Tasks.Task");
b.Property("DoneAt")
.HasColumnType("timestamp without time zone");
b.Property("IsDone")
.HasColumnType("boolean");
b.Property