from django.db import models
from faker import Faker
from .base import BaseModel

fake = Faker()


class Airplane(BaseModel):

    price = models.IntegerField()
    description = models.TextField(blank=True, null=True)
    city = models.TextField(blank=True, null=True)
    url = models.TextField(blank=False, null=False, unique=True)
    title = models.TextField(blank=True, null=True)

    @staticmethod
    def faked():
        return Airplane(price=fake.random_int(10000, 25000))

    def __str__(self):
        return "Airplane: {} for ${} at {url}".format(
            self.title, self.price, url=self.url
        )

54856f7528fc8b281555999dca66d4e0f18f8158
<mask token>


class Airplane(BaseModel):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

    @staticmethod
    def faked():
        return Airplane(price=fake.random_int(10000, 25000))

    def __str__(self):
        return 'Airplane: {} for ${} at {url}'.format(self.title, self.
            price, url=self.url)

<mask token>


class Airplane(BaseModel):
    price = models.IntegerField()
    description = models.TextField(blank=True, null=True)
    city = models.TextField(blank=True, null=True)
    url = models.TextField(blank=False, null=False, unique=True)
    title = models.TextField(blank=True, null=True)

    @staticmethod
    def faked():
        return Airplane(price=fake.random_int(10000, 25000))

    def __str__(self):
        return 'Airplane: {} for ${} at {url}'.format(self.title, self.
            price, url=self.url)

<mask token>
fake = Faker()


class Airplane(BaseModel):
    price = models.IntegerField()
    description = models.TextField(blank=True, null=True)
    city = models.TextField(blank=True, null=True)
    url = models.TextField(blank=False, null=False, unique=True)
    title = models.TextField(blank=True, null=True)

    @staticmethod
    def faked():
        return Airplane(price=fake.random_int(10000, 25000))

    def __str__(self):
        return 'Airplane: {} for ${} at {url}'.format(self.title, self.
            price, url=self.url)

from django.db import models
from faker import Faker
from .base import BaseModel
fake = Faker()


class Airplane(BaseModel):
    price = models.IntegerField()
    description = models.TextField(blank=True, null=True)
    city = models.TextField(blank=True, null=True)
    url = models.TextField(blank=False, null=False, unique=True)
    title = models.TextField(blank=True, null=True)

    @staticmethod
    def faked():
        return Airplane(price=fake.random_int(10000, 25000))

    def __str__(self):
        return 'Airplane: {} for ${} at {url}'.format(self.title, self.
            price, url=self.url)

from django.db import models
from faker import Faker
from .base import BaseModel

fake = Faker()


class Airplane(BaseModel):

    price = models.IntegerField()
    description = models.TextField(blank=True, null=True)
    city = models.TextField(blank=True, null=True)
    url = models.TextField(blank=False, null=False, unique=True)
    title = models.TextField(blank=True, null=True)

    @staticmethod
    def faked():
        return Airplane(price=fake.random_int(10000, 25000))

    def __str__(self):
        return "Airplane: {} for ${} at {url}".format(
            self.title, self.price, url=self.url
        )
