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