常用方法
常用方法
常用方法
常用方法
public function getOrders() { return $this->hasMany(CustomerOrder::className(), ['customer_id' => '_id']); }
public function getOrders() { return $this->hasMany(CustomerOrder::className(), ['customer_id' => '_id']); }