from django.db import models


# Create your models here.
class Company(models.Model):
    name = models.CharField(max_length=100)
    description = models.TextField(max_length=500)
    city = models.CharField(max_length=100)
    address = models.TextField(max_length=100)

    class Meta:
        verbose_name_plural = 'Companies'


class Vacancy(models.Model):
    company = models.ForeignKey(Company, models.CASCADE)
    name = models.CharField(max_length=100)
    description = models.TextField(max_length=300)
    salary = models.FloatField(default=0)

    class Meta:
        verbose_name_plural = 'Vacancies'

5b02b3d52b184dbfb08b92a2bb83647383e6546c
<mask token>


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


    class Meta:
        verbose_name_plural = 'Vacancies'

<mask token>


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


    class Meta:
        verbose_name_plural = 'Companies'


class Vacancy(models.Model):
    company = models.ForeignKey(Company, models.CASCADE)
    name = models.CharField(max_length=100)
    description = models.TextField(max_length=300)
    salary = models.FloatField(default=0)


    class Meta:
        verbose_name_plural = 'Vacancies'

<mask token>


class Company(models.Model):
    name = models.CharField(max_length=100)
    description = models.TextField(max_length=500)
    city = models.CharField(max_length=100)
    address = models.TextField(max_length=100)


    class Meta:
        verbose_name_plural = 'Companies'


class Vacancy(models.Model):
    company = models.ForeignKey(Company, models.CASCADE)
    name = models.CharField(max_length=100)
    description = models.TextField(max_length=300)
    salary = models.FloatField(default=0)


    class Meta:
        verbose_name_plural = 'Vacancies'

from django.db import models


class Company(models.Model):
    name = models.CharField(max_length=100)
    description = models.TextField(max_length=500)
    city = models.CharField(max_length=100)
    address = models.TextField(max_length=100)


    class Meta:
        verbose_name_plural = 'Companies'


class Vacancy(models.Model):
    company = models.ForeignKey(Company, models.CASCADE)
    name = models.CharField(max_length=100)
    description = models.TextField(max_length=300)
    salary = models.FloatField(default=0)


    class Meta:
        verbose_name_plural = 'Vacancies'

from django.db import models


# Create your models here.
class Company(models.Model):
    name = models.CharField(max_length=100)
    description = models.TextField(max_length=500)
    city = models.CharField(max_length=100)
    address = models.TextField(max_length=100)

    class Meta:
        verbose_name_plural = 'Companies'


class Vacancy(models.Model):
    company = models.ForeignKey(Company, models.CASCADE)
    name = models.CharField(max_length=100)
    description = models.TextField(max_length=300)
    salary = models.FloatField(default=0)

    class Meta:
        verbose_name_plural = 'Vacancies'
