loan remaining added

This commit is contained in:
2024-11-26 01:37:59 +05:00
parent 5d5e269285
commit 8b87f58a0c
9 changed files with 224 additions and 5 deletions

View File

@@ -0,0 +1,49 @@
<?php
namespace App\Modules\LoanRemainingOrder\Controllers;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class LoanRemainingOrderController extends Controller
{
/**
* Display a listing of the resource.
*/
public function index(Request $request): void
{
//
}
/**
* Store a newly created resource in storage.
*/
public function store(Request $request): void
{
//
}
/**
* Display the specified resource.
*/
public function show(Request $request): void
{
//
}
/**
* Update the specified resource in storage.
*/
public function update(Request $request): void
{
//
}
/**
* Remove the specified resource from storage.
*/
public function destroy(Request $request): void
{
//
}
}

View File

@@ -0,0 +1,30 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('loan_remaining_orders', function (Blueprint $table) {
$table->id();
$table->string('passport_serie')->index();
$table->string('passport_id')->index();
$table->string('account_number')->index();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('loan_remaining_orders');
}
};

View File

@@ -0,0 +1,10 @@
<?php
namespace App\Modules\LoanRemainingOrder\Models;
use Illuminate\Database\Eloquent\Model;
class LoanRemainingOrder extends Model
{
protected $table = 'loan_remaining_orders';
}

View File

@@ -0,0 +1,5 @@
<?php
namespace App\Modules\LoanRemainingOrder\Repositories;
class LoanRemainingOrderRepository {}