2021-09-13 13:32:16 +00:00
# Generated by Django 3.1.4 on 2021-09-13 12:41
2020-12-23 11:04:08 +00:00
from django . db import migrations , models
2020-12-23 12:16:01 +00:00
import multiselectfield . db . fields
2020-12-23 11:04:08 +00:00
class Migration ( migrations . Migration ) :
initial = True
dependencies = [
]
operations = [
migrations . CreateModel (
name = ' Employee ' ,
fields = [
( ' id ' , models . AutoField ( auto_created = True , primary_key = True , serialize = False , verbose_name = ' ID ' ) ) ,
( ' firstname ' , models . CharField ( max_length = 50 , verbose_name = ' Vorname ' ) ) ,
( ' lastname ' , models . CharField ( max_length = 50 , verbose_name = ' Nachname ' ) ) ,
2021-09-13 13:32:16 +00:00
( ' department ' , models . CharField ( choices = [ ( ' PROG ' , ' Programme ' ) , ( ' SOFT ' , ' Softwareentwicklung ' ) , ( ' CENT ' , ' Central ' ) , ( ' VOR ' , ' Vorstand ' ) ] , max_length = 5 , verbose_name = ' Bereich ' ) ) ,
2020-12-23 11:04:08 +00:00
( ' team ' , models . CharField ( blank = True , max_length = 20 , null = True ) ) ,
2021-09-13 13:32:16 +00:00
( ' firstdate_employment ' , models . DateField ( null = True , verbose_name = ' Erster Arbeitstag ' ) ) ,
( ' firstdate_presence ' , models . DateField ( null = True , verbose_name = ' Erster Tag der Anwesenheit in der Geschäftsstelle ' ) ) ,
( ' jobdescription_german ' , models . CharField ( max_length = 100 , null = True , verbose_name = ' Stellenbezeichnung(deutsch) ' ) ) ,
( ' jobdescription_english ' , models . CharField ( max_length = 100 , null = True , verbose_name = ' Job description(english) ' ) ) ,
( ' remote ' , models . BooleanField ( default = True , verbose_name = ' Braucht Arbeitsplatz in der Geschäftsstelle? ' ) ) ,
( ' desk ' , models . CharField ( blank = True , max_length = 100 , null = True , verbose_name = ' Wo soll der Arbeitsplatz sein? ' ) ) ,
( ' vendor ' , models . CharField ( choices = [ ( ' STANDARD ' , ' Dell Latitude ' ) , ( ' LENOVO ' , ' Lenovo Thinkpad ' ) , ( ' MAC ' , ' Mac (nur für Grafiker_innen) ' ) ] , default = ' STANDARD ' , max_length = 8 , verbose_name = ' Hersteller ' ) ) ,
( ' os ' , models . CharField ( choices = [ ( ' UBU ' , ' Ubuntu (Standard) ' ) , ( ' WIN ' , ' Windows (bitte Begründung angeben) ' ) , ( ' MOS ' , ' Mac OS (nur wenn Mac gewählt) ' ) ] , default = ' UBU ' , max_length = 3 , verbose_name = ' Betriebssystem ' ) ) ,
( ' screen ' , models . BooleanField ( default = False , verbose_name = ' Zusätzlicher Monitor? Einer ist standard. ' ) ) ,
( ' mobile ' , models . BooleanField ( default = False , max_length = 6 , verbose_name = ' Diensttelefon (Handy) ' ) ) ,
( ' keyboard ' , models . CharField ( choices = [ ( ' DE ' , ' Deutsch ' ) , ( ' US ' , ' USA ' ) , ( ' OT ' , ' Anderes (Bitte unten angeben) ' ) ] , default = ' DE ' , max_length = 2 , verbose_name = ' Tastaturlayout ' ) ) ,
2020-12-23 12:16:01 +00:00
( ' comment ' , models . TextField ( blank = True , max_length = 500 , null = True , verbose_name = ' zusätzliche IT-Anforderungen ' ) ) ,
2021-09-13 13:32:16 +00:00
( ' language ' , models . CharField ( choices = [ ( ' GER ' , ' Deutsch ' ) , ( ' ENG ' , ' English ' ) ] , default = ' GER ' , max_length = 3 , verbose_name = ' Sprache ' ) ) ,
( ' accounts ' , multiselectfield . db . fields . MultiSelectField ( blank = True , choices = [ ( ' OTRSWMDE ' , ' OTRS Ticketsystem ' ) , ( ' CIVIC1 ' , ' Civic CRM (allgemein) ' ) , ( ' CIVIC2 ' , ' Civic CRM (Mailings, impliziert allgemein) ' ) , ( ' WEB ' , ' www.wikimedia.de (edit) ' ) , ( ' BLOG ' , ' blog.wikimedia.de (edit) ' ) , ( ' FORUM ' , ' forum.wikimedia.de ' ) ] , max_length = 37 , null = True , verbose_name = ' Zusätzliche Accounts ' ) ) ,
( ' lists ' , models . CharField ( blank = True , max_length = 100 , null = True , verbose_name = ' Zusätzliche Mailinglisten ' ) ) ,
( ' rebu2go ' , models . BooleanField ( default = False , verbose_name = ' Rebu2Go-Zugang benötigt? ' ) ) ,
( ' transponder ' , models . CharField ( choices = [ ( ' NORM ' , ' Allgemeiner Transponder ' ) , ( ' SPECIAL ' , ' Besondere Schließungen (bitte angeben) ' ) , ( ' NOTRANS ' , ' Kein Transponder ' ) ] , default = ' NORM ' , max_length = 7 ) ) ,
( ' special ' , models . TextField ( blank = True , max_length = 500 , null = True , verbose_name = ' Besondere Schließungen hier eintragen ' ) ) ,
( ' post_office_box ' , models . BooleanField ( default = True , verbose_name = ' Postfach am Empfang benötigt? ' ) ) ,
2020-12-23 11:04:08 +00:00
] ,
) ,
]