from django.db import models
from datetime import date

from domain.models import Domain

# Create your models here.

class DataCount(models.Model):
    domain = models.ForeignKey(Domain)
    count = models.BigIntegerField()
    updated_at = models.DateTimeField(auto_now=True, auto_now_add=True)

    class Meta:
        db_table = 'data_count'

    def __unicode__(self):
        return self.count
