NAME

DBIx::Cookbook::DBIC::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(0xa12ca30)
is_foreign_key: 1
is_nullable: 0
size: 8

customer_id

data_type: SMALLINT
default_value: undef
extra: HASH(0xa12a780)
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(0xa1321c8)
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: DBIx::Cookbook::DBIC::Sakila::Result::Payment

customer

Type: belongs_to

Related object: DBIx::Cookbook::DBIC::Sakila::Result::Customer

inventory

Type: belongs_to

Related object: DBIx::Cookbook::DBIC::Sakila::Result::Inventory

staff

Type: belongs_to

Related object: DBIx::Cookbook::DBIC::Sakila::Result::Staff