NAME

Sakila::Result::Rental

ACCESSORS

rental_id

data_type: INT
default_value: undef
is_auto_increment: 1
is_nullable: 0
size: 11

rental_date

data_type: DATETIME
default_value: undef
is_nullable: 0
size: 19

inventory_id

data_type: MEDIUMINT
default_value: undef
extra: HASH(0xa847c48)
is_foreign_key: 1
is_nullable: 0
size: 8

customer_id

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

return_date

data_type: DATETIME
default_value: undef
is_nullable: 1
size: 19

staff_id

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

last_update

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

RELATIONS

payments

Type: has_many

Related object: Sakila::Result::Payment

customer

Type: belongs_to

Related object: Sakila::Result::Customer

inventory

Type: belongs_to

Related object: Sakila::Result::Inventory

staff

Type: belongs_to

Related object: Sakila::Result::Staff