芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/xmintal-back/models/License.php
150], [['price'], 'string', 'max' => 10], ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'id' => 'ID', 'name' => 'Name', 'price' => 'Price', 'month_duration' => 'Month Duration', 'sort_order' => 'Sort Order', 'created' => 'Created', 'updated' => 'Updated', 'trash' => 'Trash', 'active' => 'Active', ]; } /** * Gets query for [[CustomerLicenses]]. * * @return \yii\db\ActiveQuery */ public function getCustomerLicenses() { return $this->hasMany(CustomerLicense::class, ['license_id' => 'id']); } }