from django.db import models


# Create your models here.
class Map(models.Model):
    map_name = models.CharField(max_length=50)
    map_url = models.TextField(max_length=100)
    user_id = models.IntegerField()
    like = models.IntegerField(default=0)
    create_time = models.DateField(auto_now=True)

    def __str__(self):
        return self.map_name
