public function rules()
{
return [[['attributeId', 'order', 'defaultOptionId'], 'integer'], [['value'], 'string', 'max' => 255], [['attributeId'], 'exist', 'skipOnError' => true, 'targetClass' => EavAttribute::className(), 'targetAttribute' => ['attributeId' => 'id']]];
}