| 1 | <?php |
||
| 7 | class Workflow extends Base |
||
| 8 | { |
||
| 9 | |||
| 10 | protected $organizationPerspective = false; |
||
| 11 | |||
| 12 | protected $table = 'workflows'; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * The attributes that are mass assignable. |
||
| 16 | * |
||
| 17 | * @var array |
||
| 18 | */ |
||
| 19 | protected $fillable = [ |
||
| 20 | 'name', |
||
| 21 | ]; |
||
| 22 | |||
| 23 | |||
| 24 | protected $mappingProperties = array( |
||
| 25 | |||
| 26 | 'name' => [ |
||
| 27 | 'type' => 'string', |
||
| 28 | "analyzer" => "standard", |
||
| 29 | ], |
||
| 30 | ); |
||
| 31 | |||
| 32 | |||
| 33 | public function stage() |
||
| 37 | // public function stages() |
||
| 38 | // { |
||
| 39 | // return $this->hasMany('Fabrica\Models\Code\Stage'); |
||
| 40 | // } |
||
| 41 | } |