from django.db import models


class JobOffer(models.Model):
    company_name = models.CharField(max_length=50)
    company_email = models.EmailField()
    job_title = models.CharField(max_length=60)
    job_description = models.TextField()
    salary = models.PositiveIntegerField()
    city = models.CharField(max_length=35)
    state = models.CharField(max_length=35)
    created_at = models.DateField(auto_now_add=True)
    available = models.BooleanField(default=True)

    def __str__(self):
        return self.company_name

[(5, 'django.db.models.CharField', 'models.CharField', False, 'from django.db import models\n'), (6, 'django.db.models.EmailField', 'models.EmailField', False, 'from django.db import models\n'), (7, 'django.db.models.CharField', 'models.CharField', False, 'from django.db import models\n'), (8, 'django.db.models.TextField', 'models.TextField', False, 'from django.db import models\n'), (9, 'django.db.models.PositiveIntegerField', 'models.PositiveIntegerField', False, 'from django.db import models\n'), (10, 'django.db.models.CharField', 'models.CharField', False, 'from django.db import models\n'), (11, 'django.db.models.CharField', 'models.CharField', False, 'from django.db import models\n'), (12, 'django.db.models.DateField', 'models.DateField', False, 'from django.db import models\n'), (13, 'django.db.models.BooleanField', 'models.BooleanField', False, 'from django.db import models\n')]