This commit is contained in:
Thanakarn Klangkasame
2025-09-30 11:01:02 +07:00
commit 92e614674c
182 changed files with 9596 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
using AMREZ.EOP.Contracts.DTOs.HumanResources.EmergencyContact;
using AMREZ.EOP.Contracts.DTOs.HumanResources.EmergencyContactAdd;
namespace AMREZ.EOP.Abstractions.Applications.UseCases.HumanResources;
public interface IAddEmergencyContactUseCase
{
Task<EmergencyContactResponse?> ExecuteAsync(EmergencyContactAddRequest request, CancellationToken ct = default);
}

View File

@@ -0,0 +1,9 @@
using AMREZ.EOP.Contracts.DTOs.HumanResources.EmployeeAddress;
using AMREZ.EOP.Contracts.DTOs.HumanResources.EmployeeAddressAdd;
namespace AMREZ.EOP.Abstractions.Applications.UseCases.HumanResources;
public interface IAddEmployeeAddressUseCase
{
Task<EmployeeAddressResponse?> ExecuteAsync(EmployeeAddressAddRequest request, CancellationToken ct = default);
}

View File

@@ -0,0 +1,9 @@
using AMREZ.EOP.Contracts.DTOs.HumanResources.EmployeeBankAccount;
using AMREZ.EOP.Contracts.DTOs.HumanResources.EmployeeBankAccountAdd;
namespace AMREZ.EOP.Abstractions.Applications.UseCases.HumanResources;
public interface IAddEmployeeBankAccountUseCase
{
Task<EmployeeBankAccountResponse?> ExecuteAsync(EmployeeBankAccountAddRequest request, CancellationToken ct = default);
}

View File

@@ -0,0 +1,9 @@
using AMREZ.EOP.Contracts.DTOs.HumanResources.Employment;
using AMREZ.EOP.Contracts.DTOs.HumanResources.EmploymentAdd;
namespace AMREZ.EOP.Abstractions.Applications.UseCases.HumanResources;
public interface IAddEmploymentUseCase
{
Task<EmploymentResponse?> ExecuteAsync(EmploymentAddRequest request, CancellationToken ct = default);
}

View File

@@ -0,0 +1,8 @@
using AMREZ.EOP.Contracts.DTOs.HumanResources.EmploymentEnd;
namespace AMREZ.EOP.Abstractions.Applications.UseCases.HumanResources;
public interface IEndEmploymentUseCase
{
Task<bool> ExecuteAsync(EmploymentEndRequest request, CancellationToken ct = default);
}

View File

@@ -0,0 +1,8 @@
using AMREZ.EOP.Contracts.DTOs.HumanResources.SetPrimaryAddress;
namespace AMREZ.EOP.Abstractions.Applications.UseCases.HumanResources;
public interface ISetPrimaryAddressUseCase
{
Task<bool> ExecuteAsync(SetPrimaryAddressRequest request, CancellationToken ct = default);
}

View File

@@ -0,0 +1,8 @@
using AMREZ.EOP.Contracts.DTOs.HumanResources.SetPrimaryBankAccount;
namespace AMREZ.EOP.Abstractions.Applications.UseCases.HumanResources;
public interface ISetPrimaryBankAccountUseCase
{
Task<bool> ExecuteAsync(SetPrimaryBankAccountRequest request, CancellationToken ct = default);
}

View File

@@ -0,0 +1,8 @@
using AMREZ.EOP.Contracts.DTOs.HumanResources.SetPrimaryEmergencyContact;
namespace AMREZ.EOP.Abstractions.Applications.UseCases.HumanResources;
public interface ISetPrimaryEmergencyContactUseCase
{
Task<bool> ExecuteAsync(SetPrimaryEmergencyContactRequest request, CancellationToken ct = default);
}

View File

@@ -0,0 +1,9 @@
using AMREZ.EOP.Contracts.DTOs.HumanResources.UserProfile;
using AMREZ.EOP.Contracts.DTOs.HumanResources.UserProfileUpsert;
namespace AMREZ.EOP.Abstractions.Applications.UseCases.HumanResources;
public interface IUpsertUserProfileUseCase
{
Task<UserProfileResponse?> ExecuteAsync(UserProfileUpsertRequest request, CancellationToken ct = default);
}