<?php
/**
 * Created by PhpStorm.
 * User: machengjun
 * Date: 2018/2/8
 * Time: 下午6:28
 */

namespace App\Modules\Models\Production\Traits\Relationship;

use App\Modules\Models\Rent\Rent;


/**
 * Class BaseCustomerRelationship
 * @package App\Modules\Models\Customer\Traits\Relationship
 */
trait ProductionRelationship
{


    public function rent()
    {
        return $this->belongsTo(Rent::class,'rent_id','id');
    }



}