server/src/app/Models/CocoonDocument.php
author ymh <ymh.work@gmail.com>
Wed, 21 Dec 2016 15:23:08 +0100
changeset 484 4dab0495f922
parent 18 f2a40bbc27f6
permissions -rw-r--r--
Added tag 0.0.14 for changeset b47da9606c10

<?php

namespace CorpusParole\Models;

use Illuminate\Database\Eloquent\Model;

class CocoonDocument extends Model
{
    public function revisions() {
        return $this->hasMany('CorpusParole\Models\CocoonDocument', 'document_id');
    }
}