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.
24 lines
415 B
24 lines
415 B
<?php |
|
|
|
namespace yiiunit\data\ar\redis; |
|
|
|
/** |
|
* Class Order |
|
* |
|
* @property integer $id |
|
* @property integer $customer_id |
|
* @property integer $created_at |
|
* @property string $total |
|
*/ |
|
class OrderWithNullFK extends ActiveRecord |
|
{ |
|
public static function primaryKey() |
|
{ |
|
return ['id']; |
|
} |
|
|
|
public function attributes() |
|
{ |
|
return ['id', 'customer_id', 'created_at', 'total']; |
|
} |
|
}
|
|
|