mirror of https://github.com/jumpserver/jumpserver
13 lines
475 B
Python
13 lines
475 B
Python
from django.db import models
|
|
from django.utils.translation import gettext_lazy as _
|
|
|
|
from .general import Ticket, SubTicketManager
|
|
|
|
__all__ = ['ApplyLoginTicket']
|
|
|
|
|
|
class ApplyLoginTicket(Ticket):
|
|
apply_login_ip = models.GenericIPAddressField(verbose_name=_('Login ip'), null=True)
|
|
apply_login_city = models.CharField(max_length=64, verbose_name=_('Login city'), null=True)
|
|
apply_login_datetime = models.DateTimeField(verbose_name=_('Login datetime'), null=True)
|