Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ShopOrderTable |
|
| 1.0;1 |
1 | package org.paneris.rimauresq.model; | |
2 | ||
3 | import org.paneris.rimauresq.model.generated.ShopOrderTableBase; | |
4 | import org.melati.poem.DefinitionSource; | |
5 | import org.melati.poem.Database; | |
6 | import org.melati.poem.PoemException; | |
7 | ||
8 | /** | |
9 | * Melati POEM generated, programmer modifiable stub | |
10 | * for a <code>ShopOrderTable</code> object. | |
11 | * <p> | |
12 | * Description: | |
13 | * A Customer's Order. | |
14 | * </p> | |
15 | * | |
16 | * | |
17 | * <table> | |
18 | * <tr><th colspan='3'> | |
19 | * Field summary for SQL table <code>ShopOrder</code> | |
20 | * </th></tr> | |
21 | * <tr><th>Name</th><th>Type</th><th>Description</th></tr> | |
22 | * <tr><td> id </td><td> Integer </td><td> </td></tr> | |
23 | * <tr><td> user </td><td> User </td><td> The Customer </td></tr> | |
24 | * <tr><td> date </td><td> Timestamp </td><td> The date that this order was | |
25 | * placed (leave blank to autocomplete) </td></tr> | |
26 | * <tr><td> customerComment </td><td> String </td><td> Commends by the | |
27 | * customer reguarding this order </td></tr> | |
28 | * <tr><td> message </td><td> String </td><td> A message to be included with | |
29 | * this order </td></tr> | |
30 | * <tr><td> amount </td><td> Double </td><td> The total amount of the order | |
31 | * (in GBP) </td></tr> | |
32 | * <tr><td> delivery </td><td> Double </td><td> The total delivery charge for | |
33 | * the order (in GBP) </td></tr> | |
34 | * <tr><td> name </td><td> String </td><td> The user's real name </td></tr> | |
35 | * <tr><td> deliveryName </td><td> String </td><td> The name of the persone | |
36 | * to whom we are delivering </td></tr> | |
37 | * <tr><td> email </td><td> String </td><td> email </td></tr> | |
38 | * <tr><td> address </td><td> String </td><td> </td></tr> | |
39 | * <tr><td> town </td><td> String </td><td> </td></tr> | |
40 | * <tr><td> tel </td><td> String </td><td> Order telephone number </td></tr> | |
41 | * <tr><td> postcode </td><td> String </td><td> Order postcode </td></tr> | |
42 | * <tr><td> country </td><td> String </td><td> </td></tr> | |
43 | * <tr><td> spam </td><td> Boolean </td><td> Does the user want to receive | |
44 | * spam email? </td></tr> | |
45 | * </table> | |
46 | * | |
47 | * @generator org.melati.poem.prepro.TableDef#generateTableJava | |
48 | */ | |
49 | public class ShopOrderTable extends ShopOrderTableBase { | |
50 | ||
51 | /** | |
52 | * Constructor. | |
53 | * | |
54 | * @generator org.melati.poem.prepro.TableDef#generateTableJava | |
55 | * @param database the POEM database we are using | |
56 | * @param name the name of this <code>Table</code> | |
57 | * @param definitionSource which definition is being used | |
58 | * @throws PoemException if anything goes wrong | |
59 | */ | |
60 | public ShopOrderTable( | |
61 | Database database, String name, | |
62 | DefinitionSource definitionSource) throws PoemException { | |
63 | 4 | super(database, name, definitionSource); |
64 | 4 | } |
65 | ||
66 | // programmer's domain-specific code here | |
67 | } | |
68 |