for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace dameter\abstracts;
/**
* Class StaticModel
* @package dameter\abstracts
* @author Tõnis Ormisson <[email protected]>
*/
abstract class TypeModel extends StaticModel
{
/** @var integer $id primary key*/
public $id;
/** @var string $label */
public $label;
/** @var integer $order */
public $order;
* {@inheritdoc}
public function rules()
return [
[['id', 'label', 'order'], 'required'],
[['label'], 'string', 'max' => 255],
[['order'], 'integer'],
];
}