NAME
Sakila::Result::Payment
ACCESSORS
payment_id
data_type: SMALLINT
default_value: undef
extra: HASH(0xa840470)
is_auto_increment: 1
is_nullable: 0
size: 5
customer_id
data_type: SMALLINT
default_value: undef
extra: HASH(0xa83f690)
is_foreign_key: 1
is_nullable: 0
size: 5
staff_id
data_type: TINYINT
default_value: undef
extra: HASH(0xa848288)
is_foreign_key: 1
is_nullable: 0
size: 3
rental_id
data_type: INT
default_value: undef
is_foreign_key: 1
is_nullable: 1
size: 11
amount
data_type: DECIMAL
default_value: undef
is_nullable: 0
size: 5
payment_date
data_type: DATETIME
default_value: undef
is_nullable: 0
size: 19
last_update
data_type: TIMESTAMP
default_value: CURRENT_TIMESTAMP
is_nullable: 0
size: 14
RELATIONS
customer
Type: belongs_to
Related object: Sakila::Result::Customer
rental
Type: belongs_to
Related object: Sakila::Result::Rental
staff
Type: belongs_to
Related object: Sakila::Result::Staff