NAME

Sakila::Result::Staff

ACCESSORS

staff_id

data_type: TINYINT
default_value: undef
extra: HASH(0xa83ebc0)
is_auto_increment: 1
is_nullable: 0
size: 3

first_name

data_type: VARCHAR
default_value: undef
is_nullable: 0
size: 45

last_name

data_type: VARCHAR
default_value: undef
is_nullable: 0
size: 45

address_id

data_type: SMALLINT
default_value: undef
extra: HASH(0xa847f28)
is_foreign_key: 1
is_nullable: 0
size: 5

picture

data_type: BLOB
default_value: undef
is_nullable: 1
size: 65535

email

data_type: VARCHAR
default_value: undef
is_nullable: 1
size: 50

store_id

data_type: TINYINT
default_value: undef
extra: HASH(0xa764410)
is_foreign_key: 1
is_nullable: 0
size: 3

active

data_type: TINYINT
default_value: 1
is_nullable: 0
size: 1

username

data_type: VARCHAR
default_value: undef
is_nullable: 0
size: 16

password

data_type: VARCHAR
default_value: undef
is_nullable: 1
size: 40

last_update

data_type: TIMESTAMP
default_value: CURRENT_TIMESTAMP
is_nullable: 0
size: 14

RELATIONS

payments

Type: has_many

Related object: Sakila::Result::Payment

rentals

Type: has_many

Related object: Sakila::Result::Rental

address

Type: belongs_to

Related object: Sakila::Result::Address

store

Type: belongs_to

Related object: Sakila::Result::Store

store

Type: might_have

Related object: Sakila::Result::Store