server/src/app/Models/CocoonRevision.php
author ymh <ymh.work@gmail.com>
Tue, 04 Oct 2016 11:58:39 +0200
changeset 319 78990a8a069b
parent 18 f2a40bbc27f6
permissions -rw-r--r--
Work on front and back integration, correct the expected data format

<?php

namespace CorpusParole\Models;

use Illuminate\Database\Eloquent\Model;

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