some more model fields added
This commit is contained in:
parent
c4403bc117
commit
03acbe7ee7
evapp
|
@ -0,0 +1,38 @@
|
||||||
|
# Generated by Django 3.1.4 on 2020-12-23 11:17
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('evapp', '0001_initial'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='employee',
|
||||||
|
name='desk',
|
||||||
|
field=models.CharField(max_length=100, null=True, verbose_name='Wo soll der Arbeitsplatz sein?'),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='employee',
|
||||||
|
name='firstdate_employment',
|
||||||
|
field=models.DateField(null=True, verbose_name='erster Arbeitstag'),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='employee',
|
||||||
|
name='firstdate_presence',
|
||||||
|
field=models.DateField(null=True, verbose_name='erster Tag der Anwesenheit in der Geschäftsstelle'),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='employee',
|
||||||
|
name='jobdescription_english',
|
||||||
|
field=models.CharField(max_length=100, null=True, verbose_name='job description(english)'),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='employee',
|
||||||
|
name='jobdescription_german',
|
||||||
|
field=models.CharField(max_length=100, null=True, verbose_name='Stellenbeschreibung(deutsch)'),
|
||||||
|
),
|
||||||
|
]
|
|
@ -11,3 +11,10 @@ class Employee(models.Model):
|
||||||
email = models.CharField(max_length=50, verbose_name="E-Mail-Adresse")
|
email = models.CharField(max_length=50, verbose_name="E-Mail-Adresse")
|
||||||
department = models.CharField(max_length=5, choices=DEPARTMENT_CHOICES.items())
|
department = models.CharField(max_length=5, choices=DEPARTMENT_CHOICES.items())
|
||||||
team = models.CharField(max_length=20, null=True, blank=True)
|
team = models.CharField(max_length=20, null=True, blank=True)
|
||||||
|
|
||||||
|
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(null=True, max_length=100, verbose_name="Stellenbeschreibung(deutsch)")
|
||||||
|
jobdescription_english = models.CharField(null=True, max_length=100, verbose_name="job description(english)")
|
||||||
|
desk = models.CharField(max_length=100, null=True, verbose_name="Wo soll der Arbeitsplatz sein?")
|
||||||
|
# TODO: we need an optional question for remote work here
|
||||||
|
|
Loading…
Reference in New Issue