mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-06 13:25:51 +01:00
15 lines
508 B
Python
15 lines
508 B
Python
from __future__ import unicode_literals
|
|
|
|
from django.db import models
|
|
from websiteFunctions.models import Websites
|
|
from datetime import datetime
|
|
|
|
class IncJob(models.Model):
|
|
website = models.ForeignKey(Websites)
|
|
date = models.DateTimeField(default=datetime.now, blank=True)
|
|
|
|
class JobSnapshots(models.Model):
|
|
job = models.ForeignKey(IncJob)
|
|
type = models.CharField(max_length=300)
|
|
snapshotid = models.CharField(max_length=50)
|
|
destination = models.CharField(max_length=200, default='') |