Standardize code

This commit is contained in:
Philippe GRAND 2018-10-06 12:01:00 +02:00
parent 5583211246
commit 74c86f477c
5 changed files with 21 additions and 2 deletions

View File

@ -50,6 +50,9 @@ class Expedition extends CommonObject
*/ */
public $element="shipping"; public $element="shipping";
/**
* @var int Field with ID of parent key if this field has a parent
*/
public $fk_element="fk_expedition"; public $fk_element="fk_expedition";
/** /**

View File

@ -39,6 +39,9 @@ class ExpenseReportIk extends CoreObject
*/ */
public $table_element='expensereport_ik'; public $table_element='expensereport_ik';
/**
* @var int Field with ID of parent key if this field has a parent
*/
public $fk_element='fk_expense_ik'; public $fk_element='fk_expense_ik';
/** /**

View File

@ -33,12 +33,15 @@ class ExpenseReportRule extends CoreObject
* @var string ID to identify managed object * @var string ID to identify managed object
*/ */
public $element='expenserule'; public $element='expenserule';
/** /**
* @var string Name of table without prefix where object is stored * @var string Name of table without prefix where object is stored
*/ */
public $table_element='expensereport_rules'; public $table_element='expensereport_rules';
/**
* @var int Field with ID of parent key if this field has a parent
*/
public $fk_element='fk_expense_rule'; public $fk_element='fk_expense_rule';
/** /**

View File

@ -43,7 +43,12 @@ class Holiday extends CommonObject
public $table_element='holiday'; public $table_element='holiday';
public $ismultientitymanaged = 0; // 0=No test on entity, 1=Test with field entity, 2=Test with link by societe public $ismultientitymanaged = 0; // 0=No test on entity, 1=Test with field entity, 2=Test with link by societe
/**
* @var int Field with ID of parent key if this field has a parent
*/
public $fk_element = 'fk_holiday'; public $fk_element = 'fk_holiday';
public $picto = 'holiday'; public $picto = 'holiday';
/** /**

View File

@ -64,7 +64,12 @@ class User extends CommonObject
public $skype; public $skype;
public $job; // job position public $job; // job position
public $signature; public $signature;
/**
* @var string Address
*/
public $address; public $address;
public $zip; public $zip;
public $town; public $town;
public $state_id; // The state/department public $state_id; // The state/department