Last change
on this file was dfae77e, checked in by Igor Danilovski <igor_danilovski@…>, 2 years ago |
|
-
Property mode
set to
100644
|
File size:
516 bytes
|
Rev | Line | |
---|
[dfae77e] | 1 | <?php
|
---|
| 2 |
|
---|
| 3 | namespace App\Models;
|
---|
| 4 |
|
---|
| 5 | use Illuminate\Database\Eloquent\Factories\HasFactory;
|
---|
| 6 | use Illuminate\Database\Eloquent\Model;
|
---|
| 7 |
|
---|
| 8 | class ArtistSingsGenre extends Model
|
---|
| 9 | {
|
---|
| 10 | use HasFactory;
|
---|
| 11 |
|
---|
| 12 | protected $table = 'artist_sings_genres';
|
---|
| 13 |
|
---|
| 14 | protected $primaryKey = null;
|
---|
| 15 |
|
---|
| 16 | public $timestamps = false;
|
---|
| 17 |
|
---|
| 18 | public $incrementing = false;
|
---|
| 19 |
|
---|
| 20 | /**
|
---|
| 21 | * The attributes that are mass assignable.
|
---|
| 22 | *
|
---|
| 23 | * @var array<int, string>
|
---|
| 24 | */
|
---|
| 25 | protected $fillable = [
|
---|
| 26 | 'artist_id',
|
---|
| 27 | 'genre_id',
|
---|
| 28 | ];
|
---|
| 29 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.