mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-10-26 15:56:34 +01:00
17 lines
556 B
Python
17 lines
556 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
|
|
from django.db import models
|
|
from websiteFunctions.models import Websites
|
|
# Create your models here.
|
|
|
|
class ContainerLimits(models.Model):
|
|
owner = models.ForeignKey(Websites, on_delete=models.CASCADE)
|
|
cpuPers = models.CharField(max_length=10)
|
|
IO = models.CharField(max_length=10)
|
|
IOPS = models.CharField(max_length=10)
|
|
memory = models.CharField(max_length=10)
|
|
networkSpeed = models.CharField(max_length=10)
|
|
networkHexValue = models.CharField(max_length=10)
|
|
enforce = models.IntegerField(default=0)
|