diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-10-02 09:26:54 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-10-02 09:26:54 +0000 |
| commit | eb19fa6a076a8d211cd483afb01eeda6172d27e4 (patch) | |
| tree | 3eb6355b6918ceb0e2c9978cb5d98cb9f4458640 /lib/models/resources/Room.class.php | |
| parent | fe64b827e2e503085c6f596eeed08d6ece36624b (diff) | |
fixes #3225
Closes #3225
Merge request studip/studip!2186
Diffstat (limited to 'lib/models/resources/Room.class.php')
| -rw-r--r-- | lib/models/resources/Room.class.php | 39 |
1 files changed, 26 insertions, 13 deletions
diff --git a/lib/models/resources/Room.class.php b/lib/models/resources/Room.class.php index 2cea825..7f1668e 100644 --- a/lib/models/resources/Room.class.php +++ b/lib/models/resources/Room.class.php @@ -3,6 +3,9 @@ /** * Room.class.php - model class for a resource which is a room * + * The Room class is a derived class of the Resource class. + * It containts specialisations for room resources. + * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of @@ -15,19 +18,29 @@ * @package resources * @since 4.5 * - * @property string id room-ID (equal to Resource.resource_id) - * @property Building belongs_to building - * @property string room_type resource property - * @property int seats resource property - * @property bool booking_plan_is_public resource property - * - * Other properties are inherited from the parent class (Resource). - */ - - -/** - * The Room class is a derived class of the Resource class. - * It containts specialisations for room resources. + * @property string $id database column + * @property string $parent_id database column + * @property string $category_id database column + * @property int|null $level database column + * @property string $name database column + * @property I18NString|null $description database column + * @property int $requestable database column + * @property int $lockable database column + * @property int $mkdate database column + * @property int $chdate database column + * @property int $sort_position database column + * @property SimpleORMapCollection|ResourceProperty[] $properties has_many ResourceProperty + * @property SimpleORMapCollection|ResourcePermission[] $permissions has_many ResourcePermission + * @property SimpleORMapCollection|ResourceRequest[] $requests has_many ResourceRequest + * @property SimpleORMapCollection|ResourceBooking[] $bookings has_many ResourceBooking + * @property SimpleORMapCollection|Resource[] $children has_many Resource + * @property ResourceCategory $category belongs_to ResourceCategory + * @property Resource $parent belongs_to Resource + * @property mixed $room_type additional field + * @property mixed $seats additional field + * @property mixed $booking_plan_is_public additional field + * @property-read mixed $building additional field + * @property mixed $class_name additional field */ class Room extends Resource { |
