Closed nilanjansen closed 5 years ago
1 BUSINESS belongs to a specific BUSINESS CATEGORY 1Business can have multiple BRANCH 1 BRANCH can have multiple CATEGORIES e.g. hoslital has different speciality 1 category can have 1 or n QUEUE 1 queue will have n TOKEN
Duplicate Issue
API specific Entities Queue-> Queue Id(Unique) BusinessBranchCategoryId(fk) Queue Name "Hair Cut" Int resource(2 hairstylist per queue) WaitTime NoOfTokens IsClose
Token-> TokenId, TokenValue,IsExpired
STATUS-> StatusId StatusName
TokenStatus-> TokenID StatusId
QueueToken-> QueueTokenId QueueId TokenId
BusinessQueue-> BusinessQueueId(key) BranchCategoryId(composite key (fk)) QueueId(fk)
Branch-> BranchId Business Id BranchName IsClose
BusinessBranchCategory-> BusinessBranchCategoryID, Business Id, BranchId CategoryId