from django.db import models

# Create your models here.

class Graph_viaire_ville_information(models.Model):
    gvvi_diametre = models.IntegerField()
    gvvi_diametre = models.IntegerField()
    gvvi_diametre = models.IntegerField()
    gvvi_nom = models.CharField(max_length=100)
    gvvi_nb_intersection = models.IntegerField()

    def __str__(self):
        """
        Cette méthode permet d'afficher les données importantes de la classe

        :return:
        """
        return self.gvvi_nom + " : " + self.gvvi_nb_intersection.__str__()
