FinancialAccountReceive.php 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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 $student_id
  10. * @property int $student_contract_id
  11. * @property string $price
  12. * @property string $fine
  13. * @property string $fees
  14. * @property string $due_date
  15. * @property string|null $payment_date
  16. * @property string|null $asaas_id
  17. * @property string $status
  18. * @property \Illuminate\Support\Carbon|null $created_at
  19. * @property \Illuminate\Support\Carbon|null $updated_at
  20. * @property string|null $deleted_at
  21. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountReceive newModelQuery()
  22. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountReceive newQuery()
  23. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountReceive query()
  24. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountReceive whereAsaasId($value)
  25. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountReceive whereCreatedAt($value)
  26. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountReceive whereDeletedAt($value)
  27. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountReceive whereDueDate($value)
  28. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountReceive whereFees($value)
  29. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountReceive whereFinancialPlanAccountId($value)
  30. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountReceive whereFine($value)
  31. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountReceive whereId($value)
  32. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountReceive wherePaymentDate($value)
  33. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountReceive wherePrice($value)
  34. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountReceive whereStatus($value)
  35. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountReceive whereStudentContractId($value)
  36. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountReceive whereStudentId($value)
  37. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountReceive whereUnitId($value)
  38. * @method static \Illuminate\Database\Eloquent\Builder<static>|FinancialAccountReceive whereUpdatedAt($value)
  39. * @mixin \Eloquent
  40. */
  41. class FinancialAccountReceive extends Model
  42. {
  43. use HasFactory;
  44. protected $table = 'financial_account_receives';
  45. protected $guarded = [
  46. 'id', // Add more fields that shouldn't be edited here
  47. ];
  48. protected $casts = [
  49. 'created_at' => 'datetime',
  50. 'updated_at' => 'datetime',
  51. // Add your casts here (e.g., 'is_active' => 'boolean')
  52. ];
  53. // Relationships
  54. // Business Logic Methods
  55. // Custom Finders
  56. // Query Scopes
  57. }