Add missing app files and fix Docker configuration
- Add all PHP app files (controllers, middleware, providers, models, enums) that were previously gitignored via app/.gitignore wildcard - Fix app/.gitignore to no longer ignore all files - Fix docker-compose.yml: use named volume for postgres to avoid chown permission errors on server - Fix Dockerfile: use --classmap-authoritative for composer dump-autoload Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
22
app/Models/Debit.php
Normal file
22
app/Models/Debit.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Debit extends Model
|
||||
{
|
||||
public static $NOPAID = 'nopaid';
|
||||
public static $PAID = 'paid';
|
||||
public static $REJECTED = 'rejected';
|
||||
|
||||
protected $fillable = [
|
||||
'appraiser_id',
|
||||
'order_id',
|
||||
'cost',
|
||||
'customer',
|
||||
'expired',
|
||||
'order_type',
|
||||
'status',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user