Entity: Customer

Model Rentals
Class Inheritance webobjectsexamples.businesslogic.rentals.common.Customer
External Name CUSTOMER


Attributes
Properties Database Definition
Name         Value Class Column Ext. Type Value Type
city         String CITY char(20)
customerID         Number CUSTOMER_ID long(9) i
firstName         String FIRST_NAME char(20)
lastName         String LAST_NAME char(30)
memberSince         NSTimestamp MEMBER_SINCE datetime
phone         String PHONE char(10)
state         String STATE char(2)
streetAddress         String STREET_ADDRESS char(50)
zip         String ZIP char(10)


Relationships
Property Join Options
Name   Destination Source Attrs Destination Attrs Definition Req Delete Propagate PK Owns Dest Batch Fault
creditCard     CreditCard customerID customerID   Cascade    
outRentals     Rental customerID customerID   Deny     5
rentals     Rental customerID customerID   Deny     5
unpaidFees     Fee rentals.fees   Nullify