Yii2 framework backup
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

26 lines
535 B

<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace yiiunit\data\ar;
/**
* @property int $id
* @property string $alpha_string_identifier
* @property Alpha $alpha
*/
class Beta extends ActiveRecord
{
public static function tableName()
{
return 'beta';
}
public function getAlpha()
{
return $this->hasOne(Alpha::className(), ['string_identifier' => 'alpha_string_identifier']);
}
}