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, 11, 6, 45), 'django.db.models.CharField', 'models.CharField', (), '', False, 'from django.db import models\n'), ((7, 10, 7, 47), 'django.db.models.ImageField', 'models.ImageField', (), '', False, 'from django.db import models\n'), ((8, 11, 8, 29), 'django.db.models.TextField', 'models.TextField', ({}, {}), '()', False, 'from django.db import models\n'), ((9, 12, 9, 33), 'django.db.models.IntegerField', 'models.IntegerField', ({}, {}), '()', False, 'from django.db import models\n'), ((10, 12, 10, 48), 'django.db.models.BooleanField', 'models.BooleanField', (), '', False, 'from django.db import models\n')]