<?php
namespace Qiye\ViewModel;
use Think\Model\ViewModel;
class ContentViewModel extends ViewModel {
	public $viewFields = array(
		'Content'=>array(
			'_type'=>'LEFT',
			'_table'=>"__CONTENT__",
			'id',
			'title',
			'keywords',
			'thumb',
			'description',
			'tpl',
			'sort',
			'status',
			'click',
			'update_time',
			'create_time',
			),
		'Content_body'=>array(
			'_table'=>'__CONTENT_BODY__',
			'_on'=>'Content_body.id=Content.id',
			'body',
			),
	);
}