add backend door log
This commit is contained in:
31
backend/models/DoorMoveForm.php
Normal file
31
backend/models/DoorMoveForm.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace backend\models;
|
||||
|
||||
use Yii;
|
||||
use yii\base\Model;
|
||||
use common\models\Card;
|
||||
use common\models\Customer;
|
||||
use common\models\Ticket;
|
||||
use common\models\Account;
|
||||
use yii\web\UploadedFile;
|
||||
|
||||
/**
|
||||
* ContactForm is the model behind the contact form.
|
||||
* @property integer id_ticket
|
||||
*/
|
||||
class DoorMoveForm extends Model{
|
||||
|
||||
public $id_ticket;
|
||||
public $message;
|
||||
|
||||
public function rules(){
|
||||
return [
|
||||
[['id_ticket'], 'required'],
|
||||
[['id_ticket'], 'integer']
|
||||
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user