<?php

namespace Resources\Anwesenheiten;

require_once("links/Anwesenheiten_Einsaetze.php");
require_once("links/Anwesenheiten_Personal.php");
require_once("links/Anwesenheiten_Termine.php");

class Anwesenheit extends \Resources\Handler
{
	protected $names = ["table" => "Anwesenheiten", "ident" => "Anwesenheiten", "short" => "a"];
	protected $has = ["uuid" => true, "sha256" => false];
	protected $definitions = [
		"fields" => [
			"Bezeichnung" => ["default" => "", "type" => "s"],
		],
		"keys" => [
		],
		"links" => [
			"Einsätze" => ["linkClass" => "Anwesenheiten_Einsätze"],
			"Personal" => ["linkClass" => "Anwesenheiten_Personal"],
			"Termine" => ["linkClass" => "Anwesenheiten_Termine"],
		]
	];
}