shish před 6 roky
rodič
revize
515f850693
1 změnil soubory, kde provedl 1 přidání a 66 odebrání
  1. 1 66
      common/models/xhRecharge.php

+ 1 - 66
common/models/xhRecharge.php

@@ -2,77 +2,12 @@
 
 namespace common\models;
 
-/**
- * This is the model class for table "xhRecharge".
- *
- * @property string $id
- * @property integer $payWay
- * @property integer $payStyle
- * @property string $payCode
- * @property integer $merchantId
- * @property integer $userId
- * @property string $userName
- * @property string $amount
- * @property string $balance
- * @property string $event
- * @property string $userTotalRecharge
- * @property string $merchantTotalRecharge
- * @property string $remark
- * @property integer $status
- * @property integer $addTime
- * @property string $createTime
- * @property string $updateTime
- */
 class xhRecharge extends xhBaseModel
 {
-    /**
-     * @inheritdoc
-     */
+
     public static function tableName()
     {
         return 'xhRecharge';
     }
 
-    /**
-     * @inheritdoc
-     */
-    public function rules()
-    {
-        return [
-            [['id', 'createTime'], 'required'],
-            [['payWay', 'payStyle', 'merchantId', 'userId', 'status', 'addTime'], 'integer'],
-            [['amount', 'balance', 'userTotalRecharge', 'merchantTotalRecharge'], 'number'],
-            [['createTime', 'updateTime'], 'safe'],
-            [['id'], 'string', 'max' => 100],
-            [['payCode', 'remark'], 'string', 'max' => 1000],
-            [['userName'], 'string', 'max' => 20],
-            [['event'], 'string', 'max' => 50],
-        ];
-    }
-
-    /**
-     * @inheritdoc
-     */
-    public function attributeLabels()
-    {
-        return [
-            'id' => 'ID',
-            'payWay' => 'Pay Way',
-            'payStyle' => 'Pay Style',
-            'payCode' => 'Pay Code',
-            'merchantId' => 'Merchant ID',
-            'userId' => 'User ID',
-            'userName' => 'User Name',
-            'amount' => 'Amount',
-            'balance' => 'Balance',
-            'event' => 'Event',
-            'userTotalRecharge' => 'User Total Recharge',
-            'merchantTotalRecharge' => 'Merchant Total Recharge',
-            'remark' => 'Remark',
-            'status' => 'Status',
-            'addTime' => 'Add Time',
-            'createTime' => 'Create Time',
-            'updateTime' => 'Update Time',
-        ];
-    }
 }