| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <?php
- namespace App\Models;
- use Illuminate\Database\Eloquent\Factories\HasFactory;
- use Illuminate\Database\Eloquent\Model;
- /**
- * @property int $id
- * @property int $unit_id
- * @property int $financial_plan_account_id
- * @property int $supplier_id
- * @property string $price
- * @property string $fine
- * @property string $fees
- * @property string $due_date
- * @property string|null $payment_date
- * @property string $status
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property string|null $deleted_at
- * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable whereDueDate($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable whereFees($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable whereFinancialPlanAccountId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable whereFine($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable wherePaymentDate($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable wherePrice($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable whereStatus($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable whereSupplierId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable whereUnitId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable whereUpdatedAt($value)
- * @mixin \Eloquent
- */
- class FinancialAccountPayable extends Model
- {
- use HasFactory;
- protected $table = 'financial_account_payables';
- protected $guarded = [
- 'id', // Add more fields that shouldn't be edited here
- ];
- protected $casts = [
- 'created_at' => 'datetime',
- 'updated_at' => 'datetime',
- // Add your casts here (e.g., 'is_active' => 'boolean')
- ];
- // Relationships
- // Business Logic Methods
- // Custom Finders
- // Query Scopes
- }
|