Closed thanthtooaung-coding closed 2 days ago
Add price field:
price
Double
Stylist
Add hasActivePromotion field:
hasActivePromotion
boolean
Service
Establish a many-to-many relationship:
Promotion
Description:
Details:
Add
price
field:Double
Stylist
Add
hasActivePromotion
field:boolean
Service
Establish a many-to-many relationship:
Service
andPromotion
modelsBenefits:
Steps to Implement:
price
field to theStylist
model.hasActivePromotion
field to theService
model.Service
andPromotion
models.hasActivePromotion
flag whenever promotions are added or removed.