from django.db import models

class Database(models.Model):
    db_friendly_name = models.CharField(max_length=200)
    db_hostname = models.CharField(max_length=200)
    db_port = models.IntegerField(default=5439)
    db_user = models.CharField(max_length=100)
    db_password = models.CharField(max_length=100)
    db_name = models.CharField(max_length=200)
    db_default_table = models.CharField(max_length=200)
    def __str__(self):
        return self.db_hostname
