code.html 305 B

123456789101112131415
  1. <?php
  2. namespace Model;
  3. use \Qii\Driver\Model;
  4. class {#$code.className#} extends Model
  5. {
  6. public function __construct()
  7. {
  8. parent::__construct();
  9. $this->setRules(new \Qii\Driver\Rules(\Qii\Import::includes('configure/table/{#$code.database#}.{#$code.className#}.config.php')));
  10. }
  11. }
  12. ?>