# Generated by uml2django - 
# https://steelkiwi.com/blog/best-practices-working-django-models-python/
# https://learndjango.com/tutorials/django-best-practices-models
from django.db import models
from django.utils.translation import gettext_lazy as _
from django.urls import reverse
from people.models import AbstractPerson

class Student(
    AbstractPerson,
):
    ufrrj_id = models.CharField(
        verbose_name=_('ufrrj id'),
        help_text=_('ufrrj id help text'),
        max_length=255,
    )


    class Meta:
        verbose_name = _("student")
        verbose_name_plural = _("students")

    # def __str__(self): 
    #     return self.

    def get_absolute_url(self):
        return reverse("student-detail", args=[str(self.id)])
