Created
October 24, 2015 03:55
-
-
Save gamerwalt/cffc0e842985581e6e2b to your computer and use it in GitHub Desktop.
UserModel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class User extends BaseModel implements Authenticatable, CanResetPassword, IAggregateRoot | |
{ | |
use DomainEvents; | |
protected $connection = 'benta'; | |
protected $table = 'users'; | |
protected $primaryKey = 'user_id'; | |
protected $fillable = ['user_uid', 'fullname', 'email_address', 'password', 'verify_token', 'remember_token']; | |
protected $hidden = ['password']; | |
public function __construct() | |
{ | |
parent::__construct(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment