from django.db import models


class Computer(models.Model):
    """models data for bangazon employee computers
    Author: Erin Meaker
    """
    purchase_date = models.DateTimeField(null=True, blank=True)
    decom_date = models.DateTimeField(null=True, blank=True)
    manufacturer = models.CharField(max_length=50)
    make = models.CharField(max_length=50)
    has_been_assigned = models.BooleanField(default=False)

    def __str__(self):
        return f"ComputerNum {self.id}"
6e927fbcd601c002b67c566c2e924eb5846fb73c
<mask token>


class Computer(models.Model):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

    def __str__(self):
        return f'ComputerNum {self.id}'

<mask token>


class Computer(models.Model):
    <mask token>
    purchase_date = models.DateTimeField(null=True, blank=True)
    decom_date = models.DateTimeField(null=True, blank=True)
    manufacturer = models.CharField(max_length=50)
    make = models.CharField(max_length=50)
    has_been_assigned = models.BooleanField(default=False)

    def __str__(self):
        return f'ComputerNum {self.id}'

<mask token>


class Computer(models.Model):
    """models data for bangazon employee computers
    Author: Erin Meaker
    """
    purchase_date = models.DateTimeField(null=True, blank=True)
    decom_date = models.DateTimeField(null=True, blank=True)
    manufacturer = models.CharField(max_length=50)
    make = models.CharField(max_length=50)
    has_been_assigned = models.BooleanField(default=False)

    def __str__(self):
        return f'ComputerNum {self.id}'

from django.db import models


class Computer(models.Model):
    """models data for bangazon employee computers
    Author: Erin Meaker
    """
    purchase_date = models.DateTimeField(null=True, blank=True)
    decom_date = models.DateTimeField(null=True, blank=True)
    manufacturer = models.CharField(max_length=50)
    make = models.CharField(max_length=50)
    has_been_assigned = models.BooleanField(default=False)

    def __str__(self):
        return f'ComputerNum {self.id}'

from django.db import models


class Computer(models.Model):
    """models data for bangazon employee computers
    Author: Erin Meaker
    """
    purchase_date = models.DateTimeField(null=True, blank=True)
    decom_date = models.DateTimeField(null=True, blank=True)
    manufacturer = models.CharField(max_length=50)
    make = models.CharField(max_length=50)
    has_been_assigned = models.BooleanField(default=False)

    def __str__(self):
        return f"ComputerNum {self.id}"