From: konrad Date: Sun, 6 Feb 2011 10:53:23 +0000 (+0000) Subject: more wolf docu X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=ddb6ee4393e602a2c52df51a8fa9096cb0e199fd;p=web%2Fkonrad%2Fsmoke.git more wolf docu git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@719 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- diff --git a/wob/db/audit.wolf b/wob/db/audit.wolf index fd19b4e..063e8d9 100644 --- a/wob/db/audit.wolf +++ b/wob/db/audit.wolf @@ -8,11 +8,12 @@ --> - - - - - - + Storage space for printed documents. To be filled by the client whenever something is printed, to be emptied by auditors. + automatic key for this table + time at which the data was logged + user who printed the document + the order it refers to + type of document (bill, eventoverview, etc.) + the document
\ No newline at end of file diff --git a/wob/db/basics.wolf b/wob/db/basics.wolf index 8924041..d9f4feb 100644 --- a/wob/db/basics.wolf +++ b/wob/db/basics.wolf @@ -8,8 +8,9 @@ --> - - + Configuration store. Configuration consists of key-value-pairs. + the configuration key + the configuration value diff --git a/wob/db/cart.wolf b/wob/db/cart.wolf index 24354bb..52c6683 100644 --- a/wob/db/cart.wolf +++ b/wob/db/cart.wolf @@ -8,6 +8,7 @@ -->
+ web interface: stores a customers cart object the cookie for this cart @@ -29,32 +30,37 @@
- + web interface: stores the tickets in the cart + the cart the ticket is in - - - + the event the ticket is for + the price category of the ticket + amount of tickets of this type in the cart
- - + web interface: stores vouchers in the cart + simple counter for primary key + the cart this voucher is in voucher value in cents
- - - - + web interface: shop items in the cart + simple counter for a primary key + the cart it is in + the product being purchased + amount of items of this type
+ web interface: customer session - this persists beyond carts, so the customer can retrieve other info + ID of this session, automatically generated and then stored in a cookie - + if logged in - the customer - + the time when the session will be deleted, updated whenever the session is used
\ No newline at end of file diff --git a/wob/db/customer.wolf b/wob/db/customer.wolf index d5d7de1..4366860 100644 --- a/wob/db/customer.wolf +++ b/wob/db/customer.wolf @@ -8,30 +8,33 @@ --> - - + countries for addresses + abbreviated form of the country name (eg. "de", "us") + long form of the country name (e.g. "Germany", "United States of America")
- + customer data, base table + ID for the customer - - - - + part of the name: titles, like "Mr.", "Prof.", etc. + first name(s) of the customer + (second/family) name of the customer + comments about the customer - - + mail address, used as contact by automatic mails and as login name + salted SHA-1 hash of customers login password - - + reset code, used when the customer forgot the password + timer until which the reset code is valid - + flags of the customer, these are not to be confused with user flags, instead they can be set by the customer eg. to get a newsletter
+ customer data: addresses