server/src/app/Models/CocoonRevision.php
author ymh <ymh.work@gmail.com>
Fri, 21 Oct 2016 09:26:28 +0200
changeset 379 0b14f178ca53
parent 18 f2a40bbc27f6
permissions -rw-r--r--
No limitation on the number of item at this level. It has already been checked when preparing the query parameters

<?php

namespace CorpusParole\Models;

use Illuminate\Database\Eloquent\Model;

class CocoonRevision extends Model
{
    public function document() {
        return $this->belongsTo('CorpusParole\Models\CocoonDocument');
    }
}