from django.db import models
from devices.models import Device
from access_points.models import AccessPoint
# Create your models here.
class DeviceHistory(models.Model):
    login_required = True
    id_device = models.IntegerField("Canal",default=0)
    id_access_point = models.IntegerField("Canal",default=0)
    channel = models.IntegerField("Canal",default=6)
    frequency = models.TextField("Frequencia",max_length=200)
    signal = models.TextField("Sinal",max_length=200)
    description = models.TextField("Descrição",max_length=200)
    datetime = models.DateTimeField('Data Hora',auto_now_add=True)

class Meta:
    db_table = 'device_history'
    managed = True
    verbose_name = 'Historico'
    verbose_name_plural = 'Historico'
ec1a56071bb1d5b4b407f363b2ece79090daf675
<mask token>


class Meta:
    db_table = 'device_history'
    managed = True
    verbose_name = 'Historico'
    verbose_name_plural = 'Historico'

<mask token>


class DeviceHistory(models.Model):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>


class Meta:
    db_table = 'device_history'
    managed = True
    verbose_name = 'Historico'
    verbose_name_plural = 'Historico'

<mask token>


class DeviceHistory(models.Model):
    login_required = True
    id_device = models.IntegerField('Canal', default=0)
    id_access_point = models.IntegerField('Canal', default=0)
    channel = models.IntegerField('Canal', default=6)
    frequency = models.TextField('Frequencia', max_length=200)
    signal = models.TextField('Sinal', max_length=200)
    description = models.TextField('Descrição', max_length=200)
    datetime = models.DateTimeField('Data Hora', auto_now_add=True)


class Meta:
    db_table = 'device_history'
    managed = True
    verbose_name = 'Historico'
    verbose_name_plural = 'Historico'

from django.db import models
from devices.models import Device
from access_points.models import AccessPoint


class DeviceHistory(models.Model):
    login_required = True
    id_device = models.IntegerField('Canal', default=0)
    id_access_point = models.IntegerField('Canal', default=0)
    channel = models.IntegerField('Canal', default=6)
    frequency = models.TextField('Frequencia', max_length=200)
    signal = models.TextField('Sinal', max_length=200)
    description = models.TextField('Descrição', max_length=200)
    datetime = models.DateTimeField('Data Hora', auto_now_add=True)


class Meta:
    db_table = 'device_history'
    managed = True
    verbose_name = 'Historico'
    verbose_name_plural = 'Historico'

from django.db import models
from devices.models import Device
from access_points.models import AccessPoint
# Create your models here.
class DeviceHistory(models.Model):
    login_required = True
    id_device = models.IntegerField("Canal",default=0)
    id_access_point = models.IntegerField("Canal",default=0)
    channel = models.IntegerField("Canal",default=6)
    frequency = models.TextField("Frequencia",max_length=200)
    signal = models.TextField("Sinal",max_length=200)
    description = models.TextField("Descrição",max_length=200)
    datetime = models.DateTimeField('Data Hora',auto_now_add=True)

class Meta:
    db_table = 'device_history'
    managed = True
    verbose_name = 'Historico'
    verbose_name_plural = 'Historico'