mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-12 08:16:11 +01:00
Initial Commit
This commit is contained in:
20
loginSystem/models.py
Normal file
20
loginSystem/models.py
Normal file
@@ -0,0 +1,20 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
|
||||
class Administrator(models.Model):
|
||||
userName = models.CharField(unique=True,max_length = 50)
|
||||
password = models.CharField(max_length = 200)
|
||||
firstName = models.CharField(max_length = 20,default="None")
|
||||
lastName = models.CharField(max_length = 20,default="None")
|
||||
email = models.CharField(max_length=50)
|
||||
type = models.IntegerField()
|
||||
owner = models.IntegerField(default=1)
|
||||
|
||||
userAccountsLimit = models.IntegerField(default=0)
|
||||
websitesLimit = models.IntegerField(default=0)
|
||||
initUserAccountsLimit = models.IntegerField(default=1)
|
||||
initWebsitesLimit = models.IntegerField(default=1)
|
||||
Reference in New Issue
Block a user