<?php// +----------------------------------------------------------------------// | ThinkPHP [ WE CAN DO IT JUST THINK ]// +----------------------------------------------------------------------// | Copyright (c) 2016 http://thinkphp.cn All rights reserved.// +----------------------------------------------------------------------// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )// +----------------------------------------------------------------------// | Author: 刘志淳 <chun@engineer.com>// +----------------------------------------------------------------------namespacethink\console\command\make;usethink\console\command\Make;classModelextendsMake{protected$type="Model";protectedfunctionconfigure(){parent::configure();$this->setName('make:model')->setDescription('Create a new model class');}protectedfunctiongetStub(){return__DIR__.'/stubs/model.stub';}protectedfunctiongetNamespace($appNamespace,$module){returnparent::getNamespace($appNamespace,$module).'\model';}}