Changeset 899 for trunk/Modules/Employee/Employee.php
- Timestamp:
- Feb 17, 2021, 12:30:23 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Employee/Employee.php
r894 r899 3 3 class Employee extends Model 4 4 { 5 static function Get Desc(): ModelDesc5 static function GetModelDesc(): ModelDesc 6 6 { 7 7 $Desc = new ModelDesc(self::GetClassName()); … … 20 20 class EmployeeSalary extends Model 21 21 { 22 static function Get Desc(): ModelDesc22 static function GetModelDesc(): ModelDesc 23 23 { 24 24 $Desc = new ModelDesc(self::GetClassName()); … … 31 31 } 32 32 33 class ModuleEmployee extends AppModule33 class ModuleEmployee extends Module 34 34 { 35 35 function __construct(System $System) … … 39 39 $this->Version = '1.0'; 40 40 $this->Creator = 'Chronos'; 41 $this->License = 'GNU/GPL ';41 $this->License = 'GNU/GPLv3'; 42 42 $this->Description = 'Employee wages management'; 43 $this->Dependencies = array('User', 'Finance'); 44 } 45 46 function GetModels(): array 47 { 48 return array(Employee::GetClassName(), EmployeeSalary::GetClassName()); 43 $this->Dependencies = array(ModuleUser::GetName(), ModuleFinance::GetName()); 44 $this->Models = array(Employee::GetClassName(), EmployeeSalary::GetClassName()); 49 45 } 50 46
Note:
See TracChangeset
for help on using the changeset viewer.