Aplikasi Keuangan yang mengatur lalu lintas transaksi antara bank dan aplikasi internal Kampus
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

18 lines
466 B

<?php
namespace App\Domains\Finance\Actions\ProductConfiguration;
use App\Domains\Finance\DTOs\ProductConfiguration\RegisterProductMappingDTO;
use App\Domains\Finance\Models\ProductMapping;
class RegisterProductMapping
{
public function execute(RegisterProductMappingDTO $dto): void
{
ProductMapping::create([
'name' => $dto->name,
'code' => $dto->code,
'chart_of_account_id' => $dto->coaId
]);
}
}