'ID', 'order_id' => 'Order ID', 'group_id' => 'Group ID', 'gift_id' => 'Gift ID', 'send_id' => 'Send ID', 'send_time' => 'Send Time', 'rate' => 'Rate', 'price' => 'Price', 'status' => 'Status', 'is_free' => 'Is Free', 'gift_type' => 'Gift Type', 'created_at' => 'Created At', 'updated_at' => 'Updated At', ]; } public function getOrder() { return $this->hasOne(OrderT::className(),['id'=>'order_id']); } public function getSender() { return $this->hasOne(UserT::className(),['id'=>'send_id']); } public function getGroup() { return $this->hasOne(GiftGroupT::className(),['id'=>'group_id']); } public function getGift() { return $this->hasOne(GiftType3T::className(),['id'=>'gift_id']); } }