codeword/database.puml
2024-11-15 14:21:04 +03:00

48 lines
804 B
Plaintext

@startuml Database
map Usage {
key => **string**
time => **string** //date-time//
}
map Discount {
factor => **integer**
layer => **integer**
target => **string**
threshold => **integer**
}
map Filter {
active => **boolean**
text => **string**
}
map Privilege {
amount => **integer**
privilegeID => **string**
}
map PromoCode {
id => **string** //primary_key//
createdAt => **string** //date-time//
dueTo => **integer**
offLimit => **boolean**
codeword => **string**
outdated => **boolean**
activationCount => **integer**
bonus => **bonus**
delete => **boolean**
description => **string**
fastLinks => **[]string**
greetings => **string**
}
map Bonus {
discount => **discount**
privilege => **privilege**
}
Bonus::discount -> Discount
Bonus::privilege -> Privilege
@enduml