Initial Commit

This commit is contained in:
usmannasir
2017-10-24 19:16:36 +05:00
commit 11eae3f9fe
2124 changed files with 528735 additions and 0 deletions

16
packages/models.py Normal file
View File

@@ -0,0 +1,16 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from loginSystem.models import Administrator
from django.db import models
# Create your models here.
class Package(models.Model):
admin = models.ForeignKey(Administrator,on_delete=models.CASCADE)
packageName = models.CharField(max_length=50,unique=True)
diskSpace = models.IntegerField()
bandwidth = models.IntegerField()
emailAccounts = models.IntegerField(null=True)
dataBases = models.IntegerField(default=0)
ftpAccounts = models.IntegerField(default=0)