Commit 25b82a1b authored by Shakarim Sapa's avatar Shakarim Sapa

- Добавление модели таблицы подписчиков на кейсы

parent a98081e7
<?php
namespace common\modules\cases\models;
use Yii;
/**
* This is the model class for table "cases_bids".
*
* @property integer $id
* @property string $email
* @property string $date
*/
class CasesBids extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/
public static function tableName()
{
return 'cases_bids';
}
/**
* @inheritdoc
*/
public function rules()
{
return [
[['email', 'date'], 'required'],
[['date'], 'safe'],
[['email'], 'string', 'max' => 255],
];
}
/**
* @inheritdoc
*/
public function attributeLabels()
{
return [
'id' => 'ID',
'email' => 'Email',
'date' => 'Date',
];
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment