Organization_Management #142

Merged
ashutosh.nehete merged 92 commits from Organization_Management into main 2025-09-30 09:05:14 +00:00
4 changed files with 6184 additions and 0 deletions
Showing only changes of commit aed6949187 - Show all commits

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,29 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Marco.Pms.DataAccess.Migrations
{
/// <inheritdoc />
public partial class Added_IsActive_In_ProjectServiceMapping_Table : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "IsActive",
table: "ProjectServiceMappings",
type: "tinyint(1)",
nullable: false,
defaultValue: false);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "IsActive",
table: "ProjectServiceMappings");
}
}
}

View File

@ -3726,6 +3726,9 @@ namespace Marco.Pms.DataAccess.Migrations
b.Property<DateTime>("ActualStartDate") b.Property<DateTime>("ActualStartDate")
.HasColumnType("datetime(6)"); .HasColumnType("datetime(6)");
b.Property<bool>("IsActive")
.HasColumnType("tinyint(1)");
b.Property<DateTime>("PlannedEndDate") b.Property<DateTime>("PlannedEndDate")
.HasColumnType("datetime(6)"); .HasColumnType("datetime(6)");

View File

@ -23,5 +23,6 @@ namespace Marco.Pms.Model.OrganizationModel
public DateTime PlannedEndDate { get; set; } public DateTime PlannedEndDate { get; set; }
public DateTime ActualStartDate { get; set; } public DateTime ActualStartDate { get; set; }
public DateTime? ActualEndDate { get; set; } public DateTime? ActualEndDate { get; set; }
public bool IsActive { get; set; }
} }
} }