app/models/Data/User.php: extend our base model instead of Phalcon\Mvc\Model directly.
This commit is contained in:
parent
dcff1a81b2
commit
bd51dd8700
1 changed files with 2 additions and 3 deletions
|
|
@ -2,13 +2,12 @@
|
||||||
|
|
||||||
namespace App\Model\Data;
|
namespace App\Model\Data;
|
||||||
|
|
||||||
use Phalcon\Mvc\Model,
|
use Phalcon\Validation,
|
||||||
Phalcon\Validation,
|
|
||||||
Phalcon\Validation\Validator\Callback as CallbackValidator,
|
Phalcon\Validation\Validator\Callback as CallbackValidator,
|
||||||
InvalidArgumentException,
|
InvalidArgumentException,
|
||||||
Httpcb\OAuth\UserData\UserDataInterface;
|
Httpcb\OAuth\UserData\UserDataInterface;
|
||||||
|
|
||||||
class User extends Model
|
class User extends Base
|
||||||
{
|
{
|
||||||
const STATUS_ACTIVE = 'Active';
|
const STATUS_ACTIVE = 'Active';
|
||||||
const STATUS_DELETED = 'Deleted';
|
const STATUS_DELETED = 'Deleted';
|
||||||
|
|
|
||||||
Reference in a new issue