Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
ProjectsStatusManagement
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hasan.bahjat
ProjectsStatusManagement
Commits
a946c6cb
Commit
a946c6cb
authored
Aug 26, 2024
by
hasan khaddour
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Participation history
parent
a0d3eb3f
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
56 additions
and
11 deletions
+56
-11
Employee.cs
PSManagement.Domain/Employees/Entities/Employee.cs
+3
-2
PSManagement - Backup.Domain.csproj
PSManagement.Domain/PSManagement - Backup.Domain.csproj
+18
-0
ProjectBuilder.cs
PSManagement.Domain/Projects/Builders/ProjectBuilder.cs
+1
-0
EmployeeParticipate.cs
PSManagement.Domain/Projects/Entities/EmployeeParticipate.cs
+0
-1
ParticipationChange.cs
PSManagement.Domain/Projects/Entities/ParticipationChange.cs
+21
-0
Project.cs
PSManagement.Domain/Projects/Entities/Project.cs
+1
-0
StepInfo.cs
PSManagement.Domain/Projects/ValueObjects/StepInfo.cs
+3
-1
ProjectTypesErrors.cs
...t.Domain/ProjectsTypes/DomainErrors/ProjectTypesErrors.cs
+2
-3
ProjectType.cs
PSManagement.Domain/ProjectsTypes/Entites/ProjectType.cs
+5
-2
IProjectTypesRepository.cs
...ain/ProjectsTypes/Repositories/IProjectTypesRepository.cs
+1
-1
ProjectTypeSpecification.cs
...n/ProjectsTypes/Specification/ProjectTypeSpecification.cs
+1
-1
No files found.
PSManagement.Domain/Employees/Entities/Employee.cs
View file @
a946c6cb
...
@@ -47,7 +47,7 @@ namespace PSManagement.Domain.Employees.Entities
...
@@ -47,7 +47,7 @@ namespace PSManagement.Domain.Employees.Entities
}
}
#
endregion
Constructors
#
endregion
Constructors
#
region
business
logic
encapsulation
public
void
UpdateWorkHours
(
int
workingHour
)
public
void
UpdateWorkHours
(
int
workingHour
)
{
{
...
@@ -61,5 +61,6 @@ namespace PSManagement.Domain.Employees.Entities
...
@@ -61,5 +61,6 @@ namespace PSManagement.Domain.Employees.Entities
}
}
#
endregion
business
logic
encapsulation
}
}
}
}
PSManagement.Domain/PSManagement - Backup.Domain.csproj
0 → 100644
View file @
a946c6cb
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Folder Include="Identity\ValueObjects\" />
<Folder Include="ProjectsTypes\Entites\" />
<Folder Include="ProjectsTypes\Specification\" />
<Folder Include="ProjectsTypes\Repositories\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\PSManagement.SharedKernel\PSManagement.SharedKernel.csproj" />
</ItemGroup>
</Project>
PSManagement.Domain/Projects/Builders/ProjectBuilder.cs
View file @
a946c6cb
...
@@ -3,6 +3,7 @@ using PSManagement.Domain.FinancialSpends.Entities;
...
@@ -3,6 +3,7 @@ using PSManagement.Domain.FinancialSpends.Entities;
using
PSManagement.Domain.Projects.DomainEvents
;
using
PSManagement.Domain.Projects.DomainEvents
;
using
PSManagement.Domain.Projects.Entities
;
using
PSManagement.Domain.Projects.Entities
;
using
PSManagement.Domain.Projects.ValueObjects
;
using
PSManagement.Domain.Projects.ValueObjects
;
using
PSManagement.Domain.ProjectsTypes.Entites
;
using
System
;
using
System
;
using
System.Collections.Generic
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Linq
;
...
...
PSManagement.Domain/Projects/Entities/EmployeeParticipate.cs
View file @
a946c6cb
using
PSManagement.Domain.Employees.Entities
;
using
PSManagement.Domain.Employees.Entities
;
using
PSManagement.SharedKernel.Entities
;
using
PSManagement.SharedKernel.Entities
;
using
System
;
namespace
PSManagement.Domain.Projects.Entities
namespace
PSManagement.Domain.Projects.Entities
{
{
...
...
PSManagement.Domain/Projects/Entities/ParticipationChange.cs
0 → 100644
View file @
a946c6cb
using
PSManagement.Domain.Employees.Entities
;
using
PSManagement.SharedKernel.Entities
;
using
System
;
namespace
PSManagement.Domain.Projects.Entities
{
public
class
ParticipationChange
:
BaseEntity
{
public
int
EmployeeId
{
get
;
set
;
}
public
int
ProjectId
{
get
;
set
;
}
public
int
PartialTimeBefore
{
get
;
set
;
}
public
int
PartialTimeAfter
{
get
;
set
;
}
public
string
RoleBefore
{
get
;
set
;
}
public
string
RoleAfter
{
get
;
set
;
}
public
DateTime
ChangeDate
{
get
;
set
;
}
public
Employee
Employee
{
get
;
set
;
}
public
Project
Project
{
get
;
set
;
}
}
}
PSManagement.Domain/Projects/Entities/Project.cs
View file @
a946c6cb
...
@@ -4,6 +4,7 @@ using PSManagement.Domain.Employees.Entities;
...
@@ -4,6 +4,7 @@ using PSManagement.Domain.Employees.Entities;
using
PSManagement.Domain.FinancialSpends.Entities
;
using
PSManagement.Domain.FinancialSpends.Entities
;
using
PSManagement.Domain.Projects.DomainEvents
;
using
PSManagement.Domain.Projects.DomainEvents
;
using
PSManagement.Domain.Projects.ValueObjects
;
using
PSManagement.Domain.Projects.ValueObjects
;
using
PSManagement.Domain.ProjectsTypes.Entites
;
using
PSManagement.Domain.Tracking
;
using
PSManagement.Domain.Tracking
;
using
PSManagement.SharedKernel.Aggregate
;
using
PSManagement.SharedKernel.Aggregate
;
using
System
;
using
System
;
...
...
PSManagement.Domain/Projects/ValueObjects/StepInfo.cs
View file @
a946c6cb
...
@@ -6,7 +6,9 @@ namespace PSManagement.Domain.Projects.ValueObjects
...
@@ -6,7 +6,9 @@ namespace PSManagement.Domain.Projects.ValueObjects
string
StepName
,
string
StepName
,
string
Description
,
string
Description
,
DateTime
StartDate
,
DateTime
StartDate
,
int
Duration
int
Duration
,
int
NumberOfWorker
);
);
}
}
PSManagement.Domain/Projects
/DomainErrors/Pr
jectTypesErrors.cs
→
PSManagement.Domain/Projects
Types/DomainErrors/Pro
jectTypesErrors.cs
View file @
a946c6cb
using
Ardalis.Result
;
using
PSManagement.SharedKernel.DomainErrors
;
using
PSManagement.SharedKernel.DomainErrors
;
namespace
PSManagement.Domain.Projects.DomainErrors
namespace
PSManagement.Domain.Projects.DomainErrors
{
{
public
class
PrjectTypesErrors
public
class
Pr
o
jectTypesErrors
{
{
public
static
DomainError
InvalidEntryError
{
get
;
}
=
new
(
"ProjectErrors.InvalidEntry."
,
"Invalid Step Data"
);
public
static
DomainError
InvalidEntryError
{
get
;
}
=
new
(
"ProjectErrors.InvalidEntry."
,
"Invalid Step Data"
);
public
static
DomainError
InvalidName
{
get
;
}
=
new
(
"ProjectErrors.InvalidEntry."
,
"the name is already exist"
);
public
static
DomainError
InvalidName
{
get
;
}
=
new
(
"ProjectErrors.InvalidEntry."
,
"the name is already exist"
);
...
...
PSManagement.Domain/Projects
/Entiti
es/ProjectType.cs
→
PSManagement.Domain/Projects
Types/Entit
es/ProjectType.cs
View file @
a946c6cb
using
PSManagement.SharedKernel.Entities
;
using
PSManagement.Domain.Projects.Entities
;
using
PSManagement.SharedKernel.Entities
;
using
System.Collections.Generic
;
using
System.Collections.Generic
;
namespace
PSManagement.Domain.Projects
.Entiti
es
namespace
PSManagement.Domain.Projects
Types.Entit
es
{
{
public
class
ProjectType
:
BaseEntity
public
class
ProjectType
:
BaseEntity
{
{
public
string
TypeName
{
get
;
set
;
}
public
string
TypeName
{
get
;
set
;
}
public
string
Description
{
get
;
set
;
}
public
string
Description
{
get
;
set
;
}
public
int
ExpectedEffort
{
get
;
set
;
}
public
int
ExpectedEffort
{
get
;
set
;
}
public
int
ExpectedNumberOfWorker
{
get
;
set
;
}
public
ICollection
<
Project
>
Projects
{
get
;
set
;
}
public
ICollection
<
Project
>
Projects
{
get
;
set
;
}
}
}
}
}
PSManagement.Domain/Projects/Repositories/IProjectTypesRepository.cs
→
PSManagement.Domain/Projects
Types
/Repositories/IProjectTypesRepository.cs
View file @
a946c6cb
using
PSManagement.Domain.Projects
.Entiti
es
;
using
PSManagement.Domain.Projects
Types.Entit
es
;
using
PSManagement.SharedKernel.Interfaces
;
using
PSManagement.SharedKernel.Interfaces
;
using
PSManagement.SharedKernel.Repositories
;
using
PSManagement.SharedKernel.Repositories
;
using
System.Collections.Generic
;
using
System.Collections.Generic
;
...
...
PSManagement.Domain/Projects/Specification/ProjectTypeSpecification.cs
→
PSManagement.Domain/Projects
Types
/Specification/ProjectTypeSpecification.cs
View file @
a946c6cb
using
PSManagement.Domain.Projects
.Entiti
es
;
using
PSManagement.Domain.Projects
Types.Entit
es
;
using
PSManagement.SharedKernel.Specification
;
using
PSManagement.SharedKernel.Specification
;
using
System
;
using
System
;
using
System.Linq.Expressions
;
using
System.Linq.Expressions
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment