NAME

Gruntmaster::Data::Result::User - List of users

TABLE: users

ACCESSORS

id

data_type: 'text'
is_nullable: 0

passphrase

data_type: 'text'
is_nullable: 1

RFC2307-encoded passphrase

admin

data_type: 'boolean'
default_value: false
is_nullable: 0

name

data_type: 'text'
is_nullable: 1

Full name of user

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

Highschool, Undergraduate, Master, Doctorate or Other

lastjob

data_type: 'bigint'
is_nullable: 1

Unix time when this user last submitted a job

PRIMARY KEY

RELATIONS

contest_statuses

Type: has_many

Related object: Gruntmaster::Data::Result::ContestStatus

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

problem_statuses

Type: has_many

Related object: Gruntmaster::Data::Result::ProblemStatus

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.