示例#1
0
 public function rules()
 {
     return array_merge(parent::rules(), [['qty_per_order', 'compare', 'compareValue' => 1, 'operator' => '>']]);
 }