The rental 表包含每个库存项目的每个租赁的一行,其中包含有关谁租用哪个项目、何时租用以及何时归还的信息。
The rental 表引用 inventory、customer 和 staff 表,并被 payment 表引用。
列
rental_id: 一个代理主键,唯一标识租赁。
rental_date: 项目被租用的日期和时间。
inventory_id: 被租用的项目。
customer_id: 租用该项目的客户。
return_date: 项目被归还的日期和时间。
staff_id: 处理租赁的员工。
last_update: 行创建或最近更新的时间。