Changeset 4b7e2d3 for app/Models
- Timestamp:
- 10/23/21 04:03:46 (3 years ago)
- Branches:
- develop, master
- Children:
- b39afb5
- Parents:
- c6b84df
- Location:
- app/Models
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
app/Models/Department.php
rc6b84df r4b7e2d3 14 14 protected $table = "departments"; 15 15 16 protected $fillable = ["name", "code", "location", "user_id" ];16 protected $fillable = ["name", "code", "location", "user_id", "no_of_folders"]; 17 17 18 18 protected $casts = [ -
app/Models/File.php
rc6b84df r4b7e2d3 3 3 namespace App\Models; 4 4 5 use Illuminate\Database\Eloquent\Factories\HasFactory; 5 6 use Illuminate\Database\Eloquent\Model; 6 7 use Illuminate\Support\Facades\Storage; … … 8 9 class File extends Model 9 10 { 11 use HasFactory; 12 10 13 protected $table = "files"; 11 14 protected $fillable = ["name", "location", "document_id"];
Note:
See TracChangeset
for help on using the changeset viewer.