Beispiel #1
0
class luxon_domain(Model):
    id = Model.Uuid(default=uuid4, internal=True)
    name = Model.Fqdn(null=False, placeholder="department1")
    description = Model.Text()
    enabled = Model.Boolean(default=True)
    creation_time = Model.DateTime(default=now, readonly=True)
    primary_key = id
Beispiel #2
0
class luxon_role(Model):
    id = Model.Uuid(default=uuid4, internal=True)
    name = Model.String(max_length=64, null=False)
    description = Model.Text()
    creation_time = Model.DateTime(default=now, readonly=True)
    primary_key = id
Beispiel #3
0
class tradius_group(Model):
    id = Model.Uuid(default=uuid4, internal=True)
    name = Model.String(max_length=64, null=False)
    description = Model.Text()
    creation_time = Model.DateTime(default=now, readonly=True)