DataObjects/Core_person_signup.php
[Pman.Core] / DataObjects / Core_person_signup.php
1 CREATE TABLE core_person_signup (
2   id int(11) NOT NULL auto_increment,
3   PRIMARY KEY  (id)
4 ) ;
5
6
7 ALTER TABLE core_person_signup ADD COLUMN   name varchar(128)  NOT NULL  DEFAULT '';
8 ALTER TABLE core_person_signup ADD COLUMN   honor varchar(32) NOT NULL DEFAULT '';
9 ALTER TABLE core_person_signup ADD COLUMN   firstname varchar(128) NOT NULL DEFAULT '';
10 ALTER TABLE core_person_signup ADD COLUMN   lastname varchar(128) NOT NULL DEFAULT '';
11 ALTER TABLE core_person_signup ADD COLUMN   firstname_alt varchar(128) NOT NULL DEFAULT '';
12 ALTER TABLE core_person_signup ADD COLUMN   lastname_alt varchar(128) NOT NULL DEFAULT '';
13
14 ALTER TABLE core_person_signup ADD COLUMN   email varchar(256)  NOT NULL DEFAULT '';
15 ALTER TABLE core_person_signup ADD COLUMN   verify_key varchar(256)  NOT NULL DEFAULT '';
16 ALTER TABLE core_person_signup ADD COLUMN   created_dt DATETIME  NOT NULL;
17 <?php
18 /**
19  * Table Definition for Person
20  */
21 require_once 'DB/DataObject.php';
22
23
24 class Pman_Core_DataObjects_Core_person_signup extends DB_DataObject 
25 {
26     ###START_AUTOCODE
27     /* the code below is auto generated do not remove the above tag */
28
29     public $__table = 'core_person_signup';                          // table name
30     public $id;                              // int(11)  not_null primary_key auto_increment
31     public $email;                           // string(128)  not_null
32     
33     public $name;                            // string(128)  not_null
34     public $firstname;                            // string(128)  not_null
35     public $lastname;                            // string(128)  not_null
36     public $firstname_alt;                            // string(128)  not_null
37     public $lastname_alt;                            // string(128)  not_null
38     
39     
40     public $honor;                            // string(128)  not_null
41     public $verify_key;                      // int(11)
42
43     
44
45     public $created_dt;                      // datetime(19)  binary
46
47     
48     
49     
50 }
51
52