Commit 3a347c35 by Carsten Brandt

added property docs to AR test classes

parent ef13a11f
......@@ -3,6 +3,15 @@ namespace yiiunit\data\ar;
use yii\db\ActiveQuery;
/**
* Class Customer
*
* @property integer $id
* @property string $name
* @property string $email
* @property string $address
* @property integer $status
*/
class Customer extends ActiveRecord
{
const STATUS_ACTIVE = 1;
......
......@@ -2,6 +2,13 @@
namespace yiiunit\data\ar;
/**
* Class Item
*
* @property integer $id
* @property string $name
* @property integer $category_id
*/
class Item extends ActiveRecord
{
public static function tableName()
......
......@@ -2,6 +2,14 @@
namespace yiiunit\data\ar;
/**
* Class Order
*
* @property integer $id
* @property integer $customer_id
* @property integer $create_time
* @property string $total
*/
class Order extends ActiveRecord
{
public static function tableName()
......
......@@ -2,6 +2,14 @@
namespace yiiunit\data\ar;
/**
* Class OrderItem
*
* @property integer $order_id
* @property integer $item_id
* @property integer $quantity
* @property string $subtotal
*/
class OrderItem extends ActiveRecord
{
public static function tableName()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment