<?php

namespace Resources\Termine;

require_once("resources/Rechte/Recht.php");
require_once("links/Termine_Teilnahmen.php");

class Kategorie extends \Resources\Handler
{
	protected $names = ["table" => "Termine_Kategorien", "ident" => "Kategorien", "short" => "tk"];
	protected $has = ["uuid" => false, "sha256" => false];
	protected $definitions = [
		"fields" => [
			"Name" => ["default" => "", "type" => "s"],
			"Präfix" => ["default" => "", "type" => "s"],
			"Farbe" => ["default" => "#000000", "type" => "s"],
			"Beschreibung" => ["default" => "", "type" => "s"],
		],
		"keys" => [
			"Recht" => ["resourceClass" => "Rechte\\Recht", "nullable" => true, "type" => "s"],
		],
		"links" => [
		]
	];
}