1# Django User Model Fields
2username
3first_name
4last_name
5email
6password
7groups
8user_permissions
9is_staff
10is_active
11is_superuser
12last_login
13date_joined
1from django.contrib.auth.models import User
2
3class Employee(models.Model):
4 user = models.OneToOneField(User, on_delete=models.CASCADE)
5 department = models.CharField(max_length=100)
6