source: app/Models/ArtistSingsGenre.php

Last change on this file was dfae77e, checked in by Igor Danilovski <igor_danilovski@…>, 2 years ago
  • Initial commit;
  • Property mode set to 100644
File size: 516 bytes
Line 
1<?php
2
3namespace App\Models;
4
5use Illuminate\Database\Eloquent\Factories\HasFactory;
6use Illuminate\Database\Eloquent\Model;
7
8class 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.