server/src/app/Models/CocoonRevision.php
author ymh <ymh.work@gmail.com>
Fri, 14 Oct 2016 01:28:34 +0200
changeset 330 8a29098c8273
parent 18 f2a40bbc27f6
permissions -rw-r--r--
in language treemap definition, remove glbal id to make it non selectable

<?php

namespace CorpusParole\Models;

use Illuminate\Database\Eloquent\Model;

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