root 3 lat temu
rodzic
commit
16a86df98e
1 zmienionych plików z 3 dodań i 2 usunięć
  1. 3 2
      common/models/DeclarationPackage.php

+ 3 - 2
common/models/DeclarationPackage.php

@@ -10,7 +10,8 @@ namespace common\models;
  * @property string $PACKAGE_NO 套餐编号
  * @property string $LEVEL_ID 所属报单级别ID
  * @property string $AMOUNT 套餐金额
- * @property string $PV 套餐PV
+ * @property string $PV 套餐PV
+ * @property string $STORE_NUMS 套餐库存
  * @property string $PACKAGE_CONTENT 套餐内容
  * @property string $CREATED_AT 创建时间
  * @property string $CREATE_ADMIN 创建人
@@ -46,7 +47,7 @@ class DeclarationPackage extends \common\components\ActiveRecord
             [['ID','LEVEL_ID','CREATE_ADMIN', 'UPDATE_ADMIN'], 'string', 'max' => 32],
             [['PACKAGE_NAME'], 'string', 'max' => 48],
             [['PACKAGE_NAME'], 'unique'],
-            [['AMOUNT', 'PV'], 'number'],
+            [['AMOUNT', 'PV','STORE_NUMS'], 'number'],
             [['ID'], 'unique'],
         ];
     }