| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <?php
- /**
- * 厦门云联储网络科技有限公司
- * https://www.baokuaiyun.com
- * Copyright (c) 2023 爆块云 All rights reserved.
- */
- namespace app\models;
- use yii\behaviors\TimestampBehavior;
- /**
- * Class UserAuditSetting
- * @package app\models
- * @property integer $id
- * @property integer $store_id
- * @property integer $status
- * @property string $bg_image
- * @property string $form_name
- * @property string $custom_form
- * @property string $protocol
- * @property integer $created_at
- * @property integer $updated_at
- *
- **/
- class UserAuditSetting extends \yii\db\ActiveRecord
- {
- const STATUS_CLOSE = 0;
- const STATUS_OPEN = 1;
- const STATUS_ARR = [
- self::STATUS_CLOSE,
- self::STATUS_OPEN
- ];
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return '{{%user_audit_setting}}';
- }
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['id', 'store_id', 'status', 'created_at', 'updated_at'], 'integer'],
- [['bg_image', 'form_name', 'custom_form', 'protocol'], 'string']
- ];
- }
- public function behaviors()
- {
- return [
- [
- 'class' => TimestampBehavior::class
- ]
- ];
- }
- /**
- * @inheritdoc
- */
- public function attributeLabels()
- {
- return [
- 'id' => '',
- 'store_id' => '店铺id',
- 'status' => '是否开启审核登陆',
- 'bg_image' => '头部背景',
- 'form_name' => '表单名称',
- 'custom_form' => '表单信息',
- 'protocol' => '用户协议',
- 'created_at' => '',
- 'updated_at' => ''
- ];
- }
- }
|