from django.db import models
from django.contrib.auth.models import User


# Create your models here.


class Job(models.Model):
    name = models.CharField(max_length = 30)
    owner = models.ForeignKey(User, on_delete=models.CASCADE)
    description = models.TextField()
    location = models.TextField()
    hours = models.FloatField()
    rate = models.FloatField()

    def __str__(self):
        return str(self.name)

    def __repr__(self):
        return str(self.name)
9e40363592d0ed0976d6037c2b68768b0bcf58be
<mask token>

<mask token>


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

    def __repr__(self):
        return str(self.name)

<mask token>


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

    def __str__(self):
        return str(self.name)

    def __repr__(self):
        return str(self.name)

from django.db import models
from django.contrib.auth.models import User


class Job(models.Model):
    name = models.CharField(max_length=30)
    owner = models.ForeignKey(User, on_delete=models.CASCADE)
    description = models.TextField()
    location = models.TextField()
    hours = models.FloatField()
    rate = models.FloatField()

    def __str__(self):
        return str(self.name)

    def __repr__(self):
        return str(self.name)

from django.db import models
from django.contrib.auth.models import User


# Create your models here.


class Job(models.Model):
    name = models.CharField(max_length = 30)
    owner = models.ForeignKey(User, on_delete=models.CASCADE)
    description = models.TextField()
    location = models.TextField()
    hours = models.FloatField()
    rate = models.FloatField()

    def __str__(self):
        return str(self.name)

    def __repr__(self):
        return str(self.name)