Свойство | Тип | Описание | |
---|---|---|---|
$fillable | array | The attributes that are mass assignable. | |
$hidden | array | The attributes excluded from the model's JSON form. | |
$table | string | The table associated with the model. |
Метод | Описание | |
---|---|---|
album ( ) : |
所属相册 | |
user ( ) : BelongsToMany | The one-to-many relationship between image and users. |
public album ( ) : |
||
Результат |
public user ( ) : BelongsToMany | ||
Результат | BelongsToMany |
protected array $fillable | ||
Результат | array |
protected string $table | ||
Результат | string |