public function getMoves()
{
return Move::find()
->joinWith('patternMove')
->where(['pattern_id' => $this->id])
->orderBy('order_num')
->all();
}
public function getMoves()
{
return Move::find()
->joinWith('patternMove')
->where(['pattern_id' => $this->id])
->orderBy('order_num')
->all();
}