| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <?php
- namespace addons\BusinessCard\common\models;
- use Yii;
- /**
- * This is the model class for table "qimall_addons_business_card_order".
- *
- * @property int $id
- * @property int $mall_id
- * @property int $user_id
- * @property int $item_id 对象ID
- * @property int $log_type 201
- * @property int $status 状态[1启用 0禁用 -1删除]
- * @property int $created_at 创建时间
- * @property int $updated_at 更新事件
- * @property int $order_id 订单ID
- * @property string $order_no 订单编号
- * @property int $order_status 订单状态
- * @property float $pay_amount 支付金额
- * @property int $is_pay 是否已支付
- */
- class BusinessCardOrder extends \common\models\base\BaseActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return 'qimall_addons_business_card_order';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['mall_id', 'user_id', 'item_id', 'log_type', 'status', 'created_at', 'updated_at', 'order_id', 'order_status', 'is_pay'], 'integer'],
- [['pay_amount'], 'number'],
- [['order_no'], 'string', 'max' => 26],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'mall_id' => 'Mall ID',
- 'user_id' => 'User ID',
- 'item_id' => 'Item ID',
- 'log_type' => 'Log Type',
- 'status' => 'Status',
- 'created_at' => 'Created At',
- 'updated_at' => 'Updated At',
- 'order_id' => 'Order ID',
- 'order_no' => 'Order No',
- 'order_status' => 'Order Status',
- 'pay_amount' => 'Pay Amount',
- 'is_pay' => 'Is Pay',
- ];
- }
- }
|