mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-11 13:41:06 +03:30
Come BackEnd
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Option extends Model
|
||||
{
|
||||
public $fillable = ['title','input_id'];
|
||||
public function input()
|
||||
{
|
||||
return $this->belongsTo('App\Input');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user