<?php
namespace Qiye\ViewModel;
use Think\Model\ViewModel;
class GuestbookViewModel extends ViewModel {
	public $viewFields = array(
		'Guestbook'=>array(
			'_type'=>'LEFT',
			'_table'=>'__GUESTBOOK__',
			'id',
			'content_id',
			'nickname',
			'mobile',
			'content',
			'update_time',
			'reply',
			'reply_time',
			'sort',
			'status',
			),
		'Article'=>array(
			'_table'=>'__CONTENT__',
			'_on'=>'Article.id=Guestbook.content_id',
			'title',
			),
	);
}