mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 20:40:17 +02:00
21 lines
717 B
Python
21 lines
717 B
Python
from django.db import models
|
|
from django.contrib.auth.models import User
|
|
|
|
|
|
class HRApplications(models.Model):
|
|
character_name = models.CharField(max_length=254, default="")
|
|
full_api_id = models.CharField(max_length=254, default="")
|
|
full_api_key = models.CharField(max_length=254, default="")
|
|
preferred_corp = models.CharField(max_length=254, default="")
|
|
is_a_spi = models.CharField(max_length=254, default="")
|
|
about = models.TextField(default="")
|
|
extra = models.TextField(default="")
|
|
|
|
user = models.ForeignKey(User)
|
|
|
|
|
|
class HRApplicationComment(models.Model):
|
|
date = models.DateTimeField(auto_now=True)
|
|
comment = models.TextField(default="")
|
|
|
|
user = models.ForeignKey(User) |