| Current Path : /var/www/html/mnrb/backend/modules/payment/models/ |
| Current File : /var/www/html/mnrb/backend/modules/payment/models/PaymentCallback.php |
<?php
namespace backend\modules\payment\models;
use Yii;
/**
* This is the model class for table "payment_callback".
*
* @property int $callback_id
* @property string|null $post
* @property string|null $get
* @property string $created_at
*/
class PaymentCallback extends \yii\db\ActiveRecord
{
/**
* {@inheritdoc}
*/
public static function tableName()
{
return 'payment_callback';
}
/**
* {@inheritdoc}
*/
public function rules()
{
return [
[['created_at', 'url'], 'safe'],
[['post'], 'string', 'max' => 10000],
[['get'], 'string', 'max' => 5000],
];
}
/**
* {@inheritdoc}
*/
public function attributeLabels()
{
return [
'callback_id' => 'Callback ID',
'post' => 'Post',
'get' => 'Get',
'created_at' => 'Created At',
];
}
}