Advertisement
Guest User

Untitled

a guest
Nov 4th, 2018
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. # CLASSES
  2.  
  3. <<enum>> ControllerMode
  4. <<enum>> PaymentType
  5. <<enum>> UserType
  6. Controller
  7. ---
  8. mode: ControllerMode
  9. commission_buyer: Percentage
  10. commission_seller: Percentage
  11. lots: LotDescription
  12. ---
  13. registerLot(lot: LotDescription)
  14. removeLot(lot: LotDescription)
  15. -> Lot
  16. payout(lot, buyer: Buyer, seller: Seller)
  17. registerUser()
  18.  
  19. Auction
  20. ---
  21. lots: LotDescription
  22. date: Date
  23. ---
  24. setDate: Date
  25. addLot
  26. removeLot
  27. -> Lot
  28.  
  29.  
  30. LotDescription
  31. ---
  32. current_price: Money
  33. reserve_price: Money
  34. images: ImageList
  35. bids: Bid
  36. ---
  37. addBid(user: User, bid: Bid);
  38. -> bids
  39. open()
  40. close()
  41.  
  42.  
  43. Bid
  44. ---
  45. parentLot
  46. bid_type
  47. userID
  48. ---
  49.  
  50. User
  51. ---
  52. email: String
  53. name: String
  54. password: HashedPassword
  55. id: Integer
  56. account
  57. payment: PaymentMethod
  58. -> PaymentMethod
  59. ---
  60. registerUser
  61.  
  62.  
  63. PaymentMethod
  64. ---
  65. type: PaymentType
  66. bankNo, routingNo
  67. debitNumber, expirationDate,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement