mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-09-06 18:49:45 +00:00
34 lines
464 B
PHP
34 lines
464 B
PHP
<?php
|
|
|
|
class db_payouts extends CActiveRecord
|
|
{
|
|
public static function model($className=__CLASS__)
|
|
{
|
|
return parent::model($className);
|
|
}
|
|
|
|
public function tableName()
|
|
{
|
|
return 'payouts';
|
|
}
|
|
|
|
public function rules()
|
|
{
|
|
return array(
|
|
);
|
|
}
|
|
|
|
public function relations()
|
|
{
|
|
return array(
|
|
'account' => array(self::BELONGS_TO, 'db_accounts', 'account_id', 'alias'=>'account'),
|
|
);
|
|
}
|
|
|
|
public function attributeLabels()
|
|
{
|
|
return array(
|
|
);
|
|
}
|
|
}
|
|
|