mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 13:56:01 +01:00
17 lines
552 B
Python
17 lines
552 B
Python
|
|
# -*- 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)
|