ReclamationView.php 826 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Model;
  4. use Illuminate\Database\Eloquent\SoftDeletes;
  5. class ReclamationView extends Model
  6. {
  7. use SoftDeletes;
  8. const DEFAULT_SORT_BY = 'created_at';
  9. protected $table = 'reclamations_view';
  10. protected $fillable = [
  11. 'id',
  12. 'order_id',
  13. 'user_id',
  14. 'status_id',
  15. 'create_date',
  16. 'finish_date',
  17. 'reason',
  18. 'guarantee',
  19. 'whats_done',
  20. 'created_at',
  21. 'updated_at',
  22. 'start_work_date',
  23. 'work_days',
  24. 'brigadier_id',
  25. 'comment',
  26. 'user_name',
  27. 'brigadier_name',
  28. 'year',
  29. 'order_name',
  30. 'object_address',
  31. 'district_name',
  32. 'area_name',
  33. 'object_type_name',
  34. 'status_name',
  35. ];
  36. }