# coding: utf8
# DJANGO CORE IMPORTS
from django.db import models

# URBVAN IMPORTS
from .locations import LocationModel
from apps.utils import create_id


class StationModel(models.Model):

    id = models.CharField(
        default=create_id('sta_'),
        primary_key=True,
        max_length=30,
        unique=True
    )
    location = models.ForeignKey(LocationModel, on_delete=models.DO_NOTHING)
    order = models.IntegerField(default=0)
    is_active = models.BooleanField(default=True)

ddb581fc81cb3ec4fcb7cab669184ba3bea0a491
<mask token>

<mask token>


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

<mask token>


class StationModel(models.Model):
    id = models.CharField(default=create_id('sta_'), primary_key=True,
        max_length=30, unique=True)
    location = models.ForeignKey(LocationModel, on_delete=models.DO_NOTHING)
    order = models.IntegerField(default=0)
    is_active = models.BooleanField(default=True)

from django.db import models
from .locations import LocationModel
from apps.utils import create_id


class StationModel(models.Model):
    id = models.CharField(default=create_id('sta_'), primary_key=True,
        max_length=30, unique=True)
    location = models.ForeignKey(LocationModel, on_delete=models.DO_NOTHING)
    order = models.IntegerField(default=0)
    is_active = models.BooleanField(default=True)

# coding: utf8
# DJANGO CORE IMPORTS
from django.db import models

# URBVAN IMPORTS
from .locations import LocationModel
from apps.utils import create_id


class StationModel(models.Model):

    id = models.CharField(
        default=create_id('sta_'),
        primary_key=True,
        max_length=30,
        unique=True
    )
    location = models.ForeignKey(LocationModel, on_delete=models.DO_NOTHING)
    order = models.IntegerField(default=0)
    is_active = models.BooleanField(default=True)
