FinancialAccountPayable.php 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Factories\HasFactory;
  4. use Illuminate\Database\Eloquent\Model;
  5. /**
  6. * @property int $id
  7. * @property int $unit_id
  8. * @property int $financial_plan_account_id
  9. * @property int $supplier_id
  10. * @property string $price
  11. * @property string $fine
  12. * @property string $fees
  13. * @property string $due_date
  14. * @property string|null $payment_date
  15. * @property string $status
  16. * @property \Illuminate\Support\Carbon|null $created_at
  17. * @property \Illuminate\Support\Carbon|null $updated_at
  18. * @property string|null $deleted_at
  19. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable newModelQuery()
  20. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable newQuery()
  21. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable query()
  22. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable whereCreatedAt($value)
  23. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable whereDeletedAt($value)
  24. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable whereDueDate($value)
  25. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable whereFees($value)
  26. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable whereFinancialPlanAccountId($value)
  27. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable whereFine($value)
  28. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable whereId($value)
  29. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable wherePaymentDate($value)
  30. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable wherePrice($value)
  31. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable whereStatus($value)
  32. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable whereSupplierId($value)
  33. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable whereUnitId($value)
  34. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountPayable whereUpdatedAt($value)
  35. * @mixin \Eloquent
  36. */
  37. class FinancialAccountPayable extends Model
  38. {
  39. use HasFactory;
  40. protected $table = 'financial_account_payables';
  41. protected $guarded = [
  42. 'id', // Add more fields that shouldn't be edited here
  43. ];
  44. protected $casts = [
  45. 'created_at' => 'datetime',
  46. 'updated_at' => 'datetime',
  47. // Add your casts here (e.g., 'is_active' => 'boolean')
  48. ];
  49. // Relationships
  50. // Business Logic Methods
  51. // Custom Finders
  52. // Query Scopes
  53. }