芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/xmintal-back/models/Payment.php
10], [['concept'], 'string', 'max' => 200], [['payment_method'], 'string', 'max' => 15], [['payment_reference'], 'string', 'max' => 100], [['customerlicense_id'], 'exist', 'skipOnError' => true, 'targetClass' => CustomerLicense::class, 'targetAttribute' => ['customerlicense_id' => 'id']], ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'id' => 'ID', 'payment_type' => 'Payment Type', 'amount' => 'Amount', 'concept' => 'Concept', 'customerlicense_id' => 'Customerlicense ID', 'payment_date' => 'Payment Date', 'payment_method' => 'Payment Method', 'payment_reference' => 'Payment Reference', 'validity_start_date' => 'Validity Start Date', 'validity_end_date' => 'Validity End Date', 'sort_order' => 'Sort Order', 'created' => 'Created', 'updated' => 'Updated', 'trash' => 'Trash', 'active' => 'Active', ]; } /** * Gets query for [[Customerlicense]]. * * @return \yii\db\ActiveQuery */ public function getCustomerlicense() { return $this->hasOne(CustomerLicense::class, ['id' => 'customerlicense_id']); } }