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.

63 lines
1.5 KiB

<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "{{%re_order}}".
*
* @property integer $id
* @property integer $store_id
* @property string $order_no
* @property integer $user_id
* @property string $pay_price
* @property string $send_price
* @property integer $pay_type
* @property integer $is_pay
* @property integer $pay_time
* @property integer $is_delete
* @property integer $addtime
*/
class ReOrder extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%re_order}}';
}
/**
* @inheritdoc
*/
public function rules()
{
return [
[['store_id', 'user_id', 'pay_type', 'is_pay', 'pay_time', 'is_delete', 'addtime'], 'integer'],
[['pay_price', 'send_price'], 'number'],
[['order_no'], 'string', 'max' => 255],
];
}
/**
* @inheritdoc
*/
public function attributeLabels()
{
return [
'id' => 'ID',
'store_id' => 'Store ID',
'order_no' => '订单号',
'user_id' => '用户',
'pay_price' => '支付金额',
'send_price' => '赠送金额',
'pay_type' => '支付方式 1--微信支付',
'is_pay' => '是否支付 0--未支付 1--支付',
'pay_time' => '支付时间',
'is_delete' => 'Is Delete',
'addtime' => 'Addtime',
];
}
}