from django.db import models
from apiari.models import Apiario

# Create your models here.


class Arnia(models.Model):
    code = models.CharField(max_length=30)
    apiario = models.ForeignKey(Apiario, on_delete=models.CASCADE)

    class Meta:
        verbose_name_plural = "Arnie"

    def __str__(self):
        return self.code

8c4b8cfbec823aa1ec53b0eac5b3d4433b712a61
<mask token>


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


    class Meta:
        verbose_name_plural = 'Arnie'
    <mask token>

<mask token>


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


    class Meta:
        verbose_name_plural = 'Arnie'

    def __str__(self):
        return self.code

<mask token>


class Arnia(models.Model):
    code = models.CharField(max_length=30)
    apiario = models.ForeignKey(Apiario, on_delete=models.CASCADE)


    class Meta:
        verbose_name_plural = 'Arnie'

    def __str__(self):
        return self.code

from django.db import models
from apiari.models import Apiario


class Arnia(models.Model):
    code = models.CharField(max_length=30)
    apiario = models.ForeignKey(Apiario, on_delete=models.CASCADE)


    class Meta:
        verbose_name_plural = 'Arnie'

    def __str__(self):
        return self.code

from django.db import models
from apiari.models import Apiario

# Create your models here.


class Arnia(models.Model):
    code = models.CharField(max_length=30)
    apiario = models.ForeignKey(Apiario, on_delete=models.CASCADE)

    class Meta:
        verbose_name_plural = "Arnie"

    def __str__(self):
        return self.code
