Changeset 379 for trunk/Modules/Member/Member.php
- Timestamp:
- Jan 20, 2012, 9:17:37 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Member/Member.php
r378 r379 26 26 parent::__construct($Database, $System); 27 27 $this->Name = 'Member'; 28 $this->AddPropertyDateTime('Time'); 29 $this->AddPropertyOneToMany('User', 'User'); 30 $this->AddPropertyString('Module'); 31 $this->AddPropertyString('Operation'); 32 $this->AddPropertyString('Value'); 28 $this->AddPropertyOneToMany('Subject', 'Subject'); 29 $this->AddPropertyOneToMany('ResponsibleUser', 'User'); 30 $this->AddPropertyInteger('FamilyMemberCount'); 31 $this->AddPropertyDate('MembershipDate'); 32 $this->AddPropertyInteger('MemberState'); 33 $this->AddPropertyOneToMany('InternetTariffCurrentMonth', 'FinanceTariff'); 34 $this->AddPropertyOneToMany('InternetTariffNextMonth', 'FinanceTariff'); 35 $this->AddPropertyInteger('GPS'); 36 $this->AddPropertyOneToMany('BillingPeriod', 'FinanceBillingPeriod'); 37 $this->AddPropertyOneToMany('NetworkSegment', 'NetworkSegment'); 38 $this->AddPropertyOneToMany('BillingPeriodNext', 'FinanceBillingPeriod'); 39 $this->AddPropertyFloat('Hire'); 40 $this->AddPropertyBoolean('Blocked'); 33 41 } 34 42 } … … 40 48 parent::__construct($Database, $System); 41 49 $this->Name = 'MemberPayment'; 42 $this->AddPropertyDateTime('Time'); 43 $this->AddPropertyOneToMany('User', 'User'); 44 $this->AddPropertyString('Module'); 45 $this->AddPropertyString('Operation'); 46 $this->AddPropertyString('Value'); 50 $this->AddPropertyOneToMany('Member', 'Member'); 51 $this->AddPropertyFloat('MonthlyTotal'); 52 $this->AddPropertyFloat('MonthlyInternet'); 53 $this->AddPropertyFloat('MonthlyConsumption'); 54 $this->AddPropertyFloat('NetworkDevice'); 55 $this->AddPropertyFloat('MonthlyPlus'); 56 $this->AddPropertyFloat('Cash'); 47 57 } 48 58 }
Note:
See TracChangeset
for help on using the changeset viewer.