<?php

namespace Portal\Model;

use Think\Model\ViewModel;

class TermsViewModel extends ViewModel {

	public $viewFields  = array(

  		'terms'=>array('name','term_id','webid','_type'=>'LEFT'),

  		'website'=>array('id','host','gid','title','_on'=>'terms.webid = website.id'),

  		'game'=>array('listorder','_on'=>'game.id = website.gid'),

  	);

 }