mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-19 05:52:05 +01:00
14 lines
534 B
Python
14 lines
534 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import models
|
|
from loginSystem.models import Administrator
|
|
|
|
class HyberVisors(models.Model):
|
|
hypervisorOwner = models.ForeignKey(Administrator)
|
|
hypervisorName = models.CharField(max_length=50, unique=True)
|
|
hypervisorIP = models.CharField(max_length=50, unique=True)
|
|
hypervisorUserName = models.CharField(max_length=50)
|
|
hypervisorPassword = models.CharField(max_length=100)
|
|
hypervisorStoragePath = models.CharField(max_length=500)
|