- Book: title, authors, isbn
- Author: firstName, lastName, birthYear
- Reader: firstName, lastName, readerId
- Loan: book, reader, issueDate, returnDate
- Membership: reader, startDate, endDate
For the second lab: Convert Author and Reader to record
. Add enums:
BookStatus { AVAILABLE, CHECKED_OUT, RESERVED, LOST }
MembershipType { STANDARD, PREMIUM, STUDENT, SENIOR }
- Product: name, category, price, stock
- Category: name, description
- Supplier: name, contactInfo
- Customer: firstName, lastName, email
- Order: customer, products, orderDate
For the second lab: Convert Category, Supplier, and Customer to record
. Add enums:
ProductStatus { IN_STOCK, OUT_OF_STOCK, DISCONTINUED }
OrderStatus { PENDING, PROCESSING, SHIPPED, DELIVERED, CANCELED }
- Course: title, description, credits, startDate
- Instructor: firstName, lastName, expertise
- Student: firstName, lastName, email, enrollmentDate
- Module: title, content
- Assignment: module, dueDate, maxPoints
For the second lab: Convert Instructor, Student, and Module to record
. Add enums:
CourseLevel { BEGINNER, INTERMEDIATE, ADVANCED }
AssignmentType { HOMEWORK, PROJECT, QUIZ, EXAM }
- Player: firstName, lastName, position, number
- Coach: firstName, lastName, role
- Team: name, sport, players
- Match: homeTeam, awayTeam, matchDateTime, score
- TrainingSession: sessionDateTime, duration, team
For the second lab: Convert Coach and Team to record
. Add enums:
PlayerPosition { GOALKEEPER, DEFENDER, MIDFIELDER, FORWARD }
CoachRole { HEAD_COACH, ASSISTANT_COACH, FITNESS_COACH, GOALKEEPING_COACH }
- Patient: firstName, lastName, patientId, birthDate
- Doctor: firstName, lastName, specialty
- Appointment: patient, doctor, appointmentDateTime
- Medication: name, dosage, instructions
- MedicalRecord: patient, diagnosis, treatments, recordDateTime
For the second lab: Convert Patient and Doctor to record
. Add enums:
Specialty { GENERAL_PRACTITIONER, CARDIOLOGIST, DERMATOLOGIST, PEDIATRICIAN, NEUROLOGIST }
MedicationType { TABLET, SYRUP, INJECTION, OINTMENT }
AppointmentStatus { SCHEDULED, COMPLETED, CANCELED, NO_SHOW }
- Car: licensePlate, model, year, mileage
- Customer: firstName, lastName, driverLicense, birthDate
- Rental: car, customer, startDate, endDate
- Payment: rental, amount, paymentDate
- Branch: name, location
For the second lab: Convert Customer and Branch to record
. Add enums:
CarStatus { AVAILABLE, RENTED, MAINTENANCE, RESERVED }
PaymentMethod { CREDIT_CARD, DEBIT_CARD, CASH, ONLINE }
- Room: roomNumber, type, capacity, price
- Guest: firstName, lastName, email, checkInDate
- Reservation: guest, room, startDate, endDate
- Service: name, price
- Invoice: reservation, totalAmount, issueDate
For the second lab: Convert Guest and Service to record
. Add enums:
RoomStatus { AVAILABLE, OCCUPIED, CLEANING, MAINTENANCE }
ReservationStatus { CONFIRMED, CHECKED_IN, CHECKED_OUT, CANCELED }
- Movie: title, genre, durationMinutes, releaseDate
- Actor: firstName, lastName, birthYear
- Hall: hallNumber, capacity
- Screening: movie, hall, screeningDateTime
- Ticket: screening, seatNumber, price
For the second lab: Convert Actor and Hall to record
. Add enums:
TicketStatus { AVAILABLE, RESERVED, SOLD, CANCELED }
Genre { ACTION, DRAMA, COMEDY, HORROR, DOCUMENTARY }
- Product: name, price, stock, createdDate
- Customer: firstName, lastName, email, registrationDate
- Order: customer, products, orderDate, totalAmount
- Review: product, customer, rating, comment, reviewDate
- Shipment: order, shipmentDate, trackingNumber
For the second lab: Convert Customer and Review to record
. Add enums:
OrderStatus { NEW, PROCESSING, SHIPPED, DELIVERED, RETURNED }
PaymentStatus { PENDING, PAID, FAILED, REFUNDED }
- User: username, email, registrationDate
- Post: user, content, postDate
- Comment: post, user, content, commentDate
- FriendRequest: sender, receiver, requestDate, status
- Message: sender, receiver, content, sentDate
For the second lab: Convert User and Comment to record
. Add enums:
FriendRequestStatus { PENDING, ACCEPTED, DECLINED, CANCELED }
MessageStatus { SENT, DELIVERED, READ }
- Account: accountNumber, owner, balance
- Customer: firstName, lastName, email
- Transaction: fromAccount, toAccount, amount, date
- Loan: customer, amount, interestRate, startDate
- Branch: name, location
For the second lab: Convert Customer and Branch to record
. Add enums:
AccountType { CHECKING, SAVINGS, CREDIT }
TransactionType { DEPOSIT, WITHDRAWAL, TRANSFER, PAYMENT }
- Restaurant: name, cuisine, location
- MenuItem: name, price, category
- Customer: firstName, lastName, address
- Order: customer, items, orderDate
- Delivery: order, deliveryPerson, deliveryTime
For the second lab: Convert Customer and Delivery to record
. Add enums:
OrderStatus { PENDING, CONFIRMED, PREPARING, DELIVERED, CANCELED }
CuisineType { ITALIAN, CHINESE, MEXICAN, AMERICAN, INDIAN }
- Flight: flightNumber, origin, destination, departureTime, arrivalTime
- Passenger: firstName, lastName, passportNumber
- CrewMember: firstName, lastName, role
- Booking: passenger, flight, seatNumber
- Airport: name, location
For the second lab: Convert Passenger and CrewMember to record
. Add enums:
FlightStatus { ON_TIME, DELAYED, CANCELED, BOARDING }
CrewRole { PILOT, CO_PILOT, FLIGHT_ATTENDANT }
- EBook: title, authors, isbn, files
- Author: firstName, lastName, birthYear
- Reader: firstName, lastName, readerId
- File: url, format, size, type
- LibraryAccess: reader, ebook, accessStartDate, accessEndDate
For the second lab: Convert Author, Reader and File to record
. Add enums:
EBookFormat { PDF, EPUB, MOBI }
EBookType { PUBLIC, RESTRICTED }
- User: firstName, lastName, email
- Workout: title, durationMinutes, intensity
- Exercise: name, reps, sets
- Plan: user, workouts, startDate
- Progress: user, date, weight, bmi
For the second lab: Convert User and Exercise to record
. Add enums:
WorkoutIntensity { LOW, MEDIUM, HIGH }
PlanType { BEGINNER, INTERMEDIATE, ADVANCED }
- Movie: title, genre, releaseDate, durationMinutes
- User: firstName, lastName, email
- Subscription: user, startDate, endDate
- Playlist: user, movies
- Review: movie, user, rating, comment
For the second lab: Convert User and Review to record
. Add enums:
SubscriptionType { BASIC, STANDARD, PREMIUM }
Genre { ACTION, DRAMA, COMEDY, HORROR, DOCUMENTARY }
- Property: address, type, price, area
- Agent: firstName, lastName, contactInfo
- Client: firstName, lastName, email
- Sale: property, agent, client, saleDate
- Visit: property, client, visitDate
For the second lab: Convert Agent and Client to record
. Add enums:
PropertyType { APARTMENT, HOUSE, OFFICE, LAND }
SaleStatus { PENDING, COMPLETED, CANCELED }
- Student: firstName, lastName, studentId, enrollmentDate
- Professor: firstName, lastName, department
- Course: title, credits, semester
- Enrollment: student, course
- Exam: course, date, maxPoints
For the second lab: Convert Student and Professor to record
. Add enums:
Department { MATH, PHYSICS, CHEMISTRY, COMPUTER_SCIENCE, BIOLOGY }
ExamType { MIDTERM, FINAL, QUIZ, PROJECT }
- Vehicle: licensePlate, model, capacity
- Driver: firstName, lastName, licenseNumber
- Route: origin, destination, distance
- Shipment: vehicle, route, cargo, shipmentDate
- Warehouse: name, location
For the second lab: Convert Driver and Warehouse to record
. Add enums:
VehicleType { TRUCK, VAN, MOTORCYCLE }
ShipmentStatus { PENDING, IN_TRANSIT, DELIVERED, CANCELED }
- Item: name, price, stock
- Category: name, description
- Customer: firstName, lastName, email
- Purchase: customer, items, purchaseDate
- Supplier: name, contactInfo
For the second lab: Convert Customer and Supplier to record
. Add enums:
ItemStatus { IN_STOCK, OUT_OF_STOCK, DISCONTINUED }
PurchaseStatus { PENDING, COMPLETED, RETURNED }