mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-10 21:10:17 +02:00
20 lines
748 B
Python
20 lines
748 B
Python
from django.db import models
|
|
from django.contrib.auth.models import User
|
|
from django.utils import timezone
|
|
from eveonline.models import EveCharacter
|
|
from eveonline.models import EveCorporationInfo
|
|
|
|
|
|
class sigtracker(models.Model):
|
|
class Meta:
|
|
ordering = ['post_time']
|
|
ident = models.CharField(max_length=254, default="")
|
|
system = models.CharField(max_length=254, default="")
|
|
destination = models.CharField(max_length=254, default="")
|
|
sigtype = models.CharField(max_length=254, default="")
|
|
status = models.CharField(max_length=254, default="")
|
|
notes = models.CharField(max_length=254, default="")
|
|
post_time = models.DateTimeField(default=timezone.now)
|
|
eve_character = models.ForeignKey(EveCharacter)
|
|
|