from django.db import models

# Create your models here.

class Destination(models.Model) :
    name = models.CharField(max_length = 100)
    img = models.ImageField(upload_to = 'pics')
    desc = models.TextField()
    price = models.IntegerField()
    offer = models.BooleanField(default = False)
        
class News() :
    id : int
    img : str
    date : int
    month : str
    headline : str
    category : str
    desc : str
[(6, 'django.db.models.CharField', 'models.CharField', False, 'from django.db import models\n'), (7, 'django.db.models.ImageField', 'models.ImageField', False, 'from django.db import models\n'), (8, 'django.db.models.TextField', 'models.TextField', False, 'from django.db import models\n'), (9, 'django.db.models.IntegerField', 'models.IntegerField', False, 'from django.db import models\n'), (10, 'django.db.models.BooleanField', 'models.BooleanField', False, 'from django.db import models\n')]