* @copyright 2023 * @license http://www.gnu.org/licenses/gpl-2.0.html GPL version 2 * @category Stud.IP * @package resources * @since 5.5 * * @property int $id The ID of the exception. * @property string $calendar_date_id The ID of the calendar date where the exception belongs to. * @property string $date The date of the exception in the date format YYYY-MM-DD. * @property int $mkdate The creation date of the exception. * @property int $chdate The modification date of the exception. * @property CalendarDate $calendar_date The associated calendar date object. */ class CalendarDateException extends SimpleORMap { protected static function configure($config = []) { $config['db_table'] = 'calendar_date_exceptions'; $config['belongs_to']['calendar_date'] = [ 'class_name' => CalendarDate::class, 'foreign_key' => 'calendar_date_id', 'assoc_func' => 'find' ]; parent::configure($config); } }