Attribute | Datatype | Relationship | Description |
---|---|---|---|
userId | String | Primary Key | Unique user identifier |
username | String | Display name | |
String | Email address | ||
password | String | Encrypted password | |
userRole | Enum | USER / THEATER_OWNER | |
phoneNumber | String | Contact number | |
dateOfBirth | LocalDate | Date of birth | |
createdAt | Long | Creation timestamp | |
updatedAt | Long | Last update timestamp |
Attribute | Datatype | Relationship | Description |
---|---|---|---|
userId | String | FK to UserDetails | Inherits user details |
Attribute | Datatype | Relationship | Description |
---|---|---|---|
userId | String | FK to UserDetails | Owner's user ID |
Attribute | Datatype | Relationship | Description |
---|---|---|---|
theaterId | String | Primary Key | Unique theater identifier |
name | String | Theater name | |
address | String | Full address | |
city | String | City location | |
landmark | String | Nearby landmark | |
createdAt | Long | Created timestamp | |
updatedAt | Long | Last update timestamp | |
createdBy | String | FK to User | Creator (User) |
Attribute | Datatype | Relationship | Description |
---|---|---|---|
screenId | String | Primary Key | Unique screen identifier |
screenType | Enum | 2D, 3D, IMAX, etc. | |
capacity | Integer | Seating capacity | |
noOfRows | Integer | Number of seat rows | |
createdAt | Long | Created timestamp | |
updatedAt | Long | Last update timestamp | |
createdBy | String | FK to User | Creator (User) |
theaterId | String | FK to Theater | Belongs to this theater |