CompanyMonthlyReport.php 414 B

12345678910111213
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Model;
  4. class CompanyMonthlyReport extends Model
  5. {
  6. protected $table = 'company_monthly_reports';
  7. protected $fillable = ['month', 'file_name', 'file_path', 'file_size', 'created_by', 'updated_by'];
  8. protected $hidden = ['file_path'];
  9. protected $casts = ['file_size' => 'integer', 'created_by' => 'integer', 'updated_by' => 'integer'];
  10. }