server/src/app/Models/CocoonRevision.php
author ymh <ymh.work@gmail.com>
Mon, 21 Mar 2016 14:04:19 +0100
changeset 142 86fcf0c837c0
parent 18 f2a40bbc27f6
permissions -rw-r--r--
change language treemap. id in struct can be a list of lexvo references

<?php

namespace CorpusParole\Models;

use Illuminate\Database\Eloquent\Model;

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