| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <?php
- /**
- * 厦门云联储网络科技有限公司
- * https://www.baokuaiyun.com
- * Copyright (c) 2023 爆块云 All rights reserved.
- */
- namespace app\models;
- use Yii;
- /**
- * This is the model class for table "{{%refund_address}}".
- *
- * @property integer $id
- * @property integer $store_id
- * @property integer $mch_id
- * @property string $name
- * @property string $address
- * @property string $mobile
- * @property integer $is_delete
- * @property integer $is_default
- */
- class RefundAddress extends \yii\db\ActiveRecord
- {
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return '{{%refund_address}}';
- }
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['store_id','mch_id', 'is_delete', 'is_default'], 'integer'],
- [['name', 'address', 'mobile'], 'string', 'max' => 255],
- ];
- }
- /**
- * @inheritdoc
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'store_id' => 'Store ID',
- 'mch_id' => 'mch ID',
- 'name' => '收件人名称',
- 'address' => '收件人地址',
- 'mobile' => '收件人电话',
- 'is_delete' => 'Is Delete',
- 'is_default' => '地址是否默认'
- ];
- }
- }
|