Skip to content

Instantly share code, notes, and snippets.

@gamerwalt
Created October 24, 2015 03:55
Show Gist options
  • Save gamerwalt/cffc0e842985581e6e2b to your computer and use it in GitHub Desktop.
Save gamerwalt/cffc0e842985581e6e2b to your computer and use it in GitHub Desktop.
UserModel
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