add ticket installment
This commit is contained in:
25
frontend/models/TicketUpdate.php
Normal file
25
frontend/models/TicketUpdate.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
namespace frontend\models;
|
||||
|
||||
use common\models\Ticket;
|
||||
|
||||
|
||||
class TicketUpdate extends Ticket{
|
||||
|
||||
public function rules(){
|
||||
return [
|
||||
////////////////
|
||||
//status
|
||||
////////////////
|
||||
[['status',], 'integer'],
|
||||
[['status',], 'in', 'range' => [ static ::STATUS_ACTIVE, static ::STATUS_INACTIVE ]],
|
||||
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user