implement registration
This commit is contained in:
@@ -10,6 +10,8 @@ use Yii;
|
||||
* @property integer $id
|
||||
* @property integer $id_event
|
||||
* @property integer $id_customer
|
||||
* @property integer $id_card
|
||||
* @property integer $id_ticket
|
||||
* @property string $created_at
|
||||
* @property string $updated_at
|
||||
* @property string $canceled_at
|
||||
@@ -25,14 +27,12 @@ class EventRegistration extends \yii\db\ActiveRecord
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
* @inheritdocd
|
||||
*/
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
[['id_event', 'id_customer'], 'integer'],
|
||||
[['created_at', 'updated_at', 'canceled_at'], 'required'],
|
||||
[['created_at', 'updated_at', 'canceled_at'], 'safe']
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user