<reponame>urbanzoom/covid-19<filename>ml/restful/restful/api/models.py
from django.db import models

# Create your models here.
class Cluster(models.Model):
    latitude = models.FloatField()
    longitude = models.FloatField()
    timestamp = models.FloatField()
    cluster = models.TextField()
    source = models.TextField()
    created_at = models.DateTimeField(auto_now_add=True, blank=True)
    updated_at = models.DateTimeField(auto_now=True)

from django.db import models

# Create your models here.
class Cluster(models.Model):
    latitude = models.FloatField()
    longitude = models.FloatField()
    timestamp = models.FloatField()
    cluster = models.TextField()
    source = models.TextField()
    created_at = models.DateTimeField(auto_now_add=True, blank=True)
    updated_at = models.DateTimeField(auto_now=True)
# Create your models here.