<commit_before>from django.db import models
from django.contrib.auth.models import AbstractBaseUser
from ..companies.models import Company, Team

class User(AbstractBaseUser):
    full_name = models.CharField(max_length=250, blank=False)
    email = models.EmailField(unique=True)
    is_admin = models.BooleanField(default=False, blank=False)

    USERNAME_FIELD = "email"

class Employee(User):
    company = models.ForeignKey(Company)
    team = models.ForeignKey(Team, null=True)<commit_msg>feature(models): add employee fields<commit_after>from django.db import models
from django.contrib.auth.models import AbstractBaseUser

class User(AbstractBaseUser):
    full_name = models.CharField(max_length=250, blank=False)
    email = models.EmailField(unique=True)
    is_admin = models.BooleanField(default=False, blank=False)

    USERNAME_FIELD = "email"

class Employee(User):
    employer = models.ForeignKey('companies.Company', related_name="employer")
    team = models.ForeignKey('companies.Team', null=True)
{'fraction_non_alphanumeric': 0.10510805500982318, 'fraction_numerical': 0.005893909626719057, 'mean_word_length': 5.748344370860927, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4500143', 'n_tokens_mistral': 309, 'n_tokens_neox': 294, 'n_words': 62}