Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @startuml
- class ConcertInfo{
- genre: str
- when: DateTime
- event_name: str
- expected_payment: int
- description: str
- created: DateTime
- updated: DateTime
- }
- class User{
- username: str
- password: str
- email: str
- first_name: str
- last_name: str
- user_type: str
- tel_number: str
- created: DateTime
- updated: DateTime
- }
- class Decision{
- reason: str
- }
- enum Status{
- ACTIVE
- DELETED
- TAKEN
- }
- class InternalEvent{
- song_list: str
- needed_stuff: str
- owned_stuff: str
- instrumental_link: url
- comments: str
- created: DateTime
- updated: DateTime
- }
- class Event{
- poster: file
- ticket_price: float
- active: bool
- is_filled: bool
- created: DateTime
- updated: DateTime
- }
- class Comment{
- body: str
- username: str
- active: bool
- created: DateTime
- updated: DateTime
- }
- class InternalEventUpdate << View >>{
- get(internal_event_id)
- form_valid()
- }
- class Negotiate << View >>{
- post(concert_times_id, price)
- }
- class Decline << View >>{
- post(concert_times_id)
- form_valid()
- }
- class Accept << View >>{
- post(concert_times_id, user_id)
- create_events(concert_times_id)
- }
- class BandUpdate << View >>{
- get(user_id)
- form_valid()
- }
- Negotiate ..> ConcertInfo
- Accept ..> ConcertInfo
- Decline ..> ConcertInfo
- BandUpdate ..> User
- InternalEventUpdate ..> InternalEvent
- ConcertInfo o-- User
- ConcertInfo *-- Decision
- ConcertInfo *-- Status
- ConcertInfo *-- InternalEvent
- ConcertInfo *-- Event
- User *-- Decision
- Event *-- Comment
- @enduml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement