7 | | 1. '''Book''' |
8 | | * '''BookID''' - Primary Key, Numeric |
9 | | * ISBN - Mandatory Attribute, Text |
10 | | * Title - Mandatory Attribute, Text |
11 | | * Genre - Mandatory Attribute, Text |
12 | | * PublishedYear - Mandatory Attribute, Numeric |
13 | | * TotalCopies - Mandatory Attribute, Numeric |
14 | | 2. '''Book_Copies''' |
15 | | * '''CopyID''' - Primary Key, Numeric |
16 | | * Condition - Mandatory Attribute, ENUM (Values: 'New', 'Good', 'Damaged') |
| 7 | 1. '''Users''' |
| 8 | * '''UserID''' - Primary Key, Numeric''' |
| 9 | * Username - Mandatory Attribute, Text |
| 10 | * FirstName - Optional Attribute, Text |
| 11 | * LastName - Optional Attribute, Text |
| 12 | * Address - Optional Attribute, Text |
| 13 | * Phone - Optional Attribute, Numeric |
| 14 | * Password - Mandatory Attribute, Text |
| 15 | * Email - Mandatory Attribute, Text |
| 16 | * Role - Mandatory Attribute, Text |
| 17 | |
| 18 | 2. '''Member''' |
| 19 | * '''MemberID ''' - Primary Key, Numeric |
| 20 | * Membership_Status - Mandatory Attribute, ENUM (Values: 'Active', 'Inactive', 'Suspended') |
| 21 | * Expired_Date - Mandatory Attribute, Date |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
29 | | 6. '''Member''' |
30 | | * '''MemberID''' - Primary Key, Numeric |
31 | | * Address - Mandatory Attribute, Text |
32 | | * Phone - Mandatory Attribute, Numeric |
33 | | * Membership_Status - Mandatory Attribute, ENUM |
34 | | 7. '''User''' |
35 | | * '''UserID''' - Primary Key, Numeric |
36 | | * Username - Mandatory Attribute, Text |
37 | | * Password - Mandatory Attribute, Text |
38 | | * Email - Mandatory Attribute, Text |
39 | | * Role - Mandatory Attribute, Text |