Ignore:
Timestamp:
Mar 28, 2022, 12:17:44 AM (3 years ago)
Author:
chronos
Message:
  • Modified: Improved model definitions.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Stock/Stock.php

    r916 r923  
    303303  {
    304304    $Desc = new ModelDesc(self::GetClassName());
     305    $Desc->AddString('Name');
    305306    $Desc->AddReference('Location', Member::GetClassName());
    306307    return $Desc;
     
    352353  {
    353354    $Desc = new ModelDesc(self::GetClassName());
     355    $Desc->AddReference('StockSerialNumber', StockSerialNumber::GetClassName());
    354356    $Desc->AddDateTime('Time');
    355     $Desc->AddReference('StockSerialNumber', StockSerialNumber::GetClassName());
    356357    $Desc->AddText('Text');
    357358    return $Desc;
Note: See TracChangeset for help on using the changeset viewer.