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.
25 lines
415 B
25 lines
415 B
10 years ago
|
<?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'];
|
||
|
}
|
||
|
}
|