| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <?php
- /**
- * 厦门云联储网络科技有限公司
- * https://www.baokuaiyun.com
- * Copyright (c) 2023 爆块云 All rights reserved.
- */
- namespace app\models;
- use yii\db\ActiveRecord;
- use yii\behaviors\TimestampBehavior;
- /**
- * This is the model class for table "{{%alipay_voucher_code}}".
- *
- * @property int $id
- * @property int $store_id
- * @property int $mini_id 小程序
- * @property int $activity_ordervoucher_id 商家券活动id
- * @property int $voucher_code 券码
- * @property int $status 券码
- * @property string $order_no 订单编号
- * @property string $clerk_saas_id
- * @property string $total_price
- * @property string $sub_price
- */
- class AlipayVoucherCode extends ActiveRecord
- {
- public static function tableName()
- {
- return '{{%alipay_voucher_code}}';
- }
- public function rules()
- {
- return [
- [['id', 'store_id', 'mini_id', 'activity_ordervoucher_id'], 'integer'],
- [['create_at', 'update_at', 'is_delete', 'is_upload', 'clerk_saas_id', 'total_price', 'sub_price'], 'safe']
- ];
- }
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'mini_id' => 'store_id',
- 'store_id' => 'store_id',
- 'activity_ordervoucher_id' => '商家券活动id',
- 'voucher_code' => '券码',
- 'status' => '状态',
- 'order_no' => '订单编号',
- 'clerk_saas_id' => 'clerk_saas_id',
- 'total_price' => 'total_price',
- 'sub_price' => 'sub_price',
- ];
- }
- }
|