Marius Gavrilescu

NAME

Gruntmaster::Data::Result::User

TABLE: users

ACCESSORS

id

  data_type: 'text'
  is_nullable: 0

passphrase

  data_type: 'text'
  is_nullable: 1

admin

  data_type: 'boolean'
  default_value: false
  is_nullable: 0

name

  data_type: 'text'
  is_nullable: 1

email

  data_type: 'text'
  is_nullable: 1

phone

  data_type: 'text'
  is_nullable: 1

town

  data_type: 'text'
  is_nullable: 1

university

  data_type: 'text'
  is_nullable: 1

level

  data_type: 'text'
  is_nullable: 1

lastjob

  data_type: 'bigint'
  is_nullable: 1

PRIMARY KEY

RELATIONS

contests

Type: has_many

Related object: Gruntmaster::Data::Result::Contest

jobs

Type: has_many

Related object: Gruntmaster::Data::Result::Job

opens

Type: has_many

Related object: Gruntmaster::Data::Result::Open

problems

Type: has_many

Related object: Gruntmaster::Data::Result::Problem

METHODS

check_passphrase($passphrase)

Returns true if $passphrase is the correct passphrase, false otherwise.

set_passphrase($passphrase)

Changes the passphrase to $passphrase.

AUTHOR

Marius Gavrilescu <marius@ieval.ro>

COPYRIGHT AND LICENSE

Copyright (C) 2014 by Marius Gavrilescu

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.18.1 or, at your option, any later version of Perl 5 you may have available.