mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-11-27 00:54:54 +00:00
jira-34 referral code validation API
This commit is contained in:
@ -89,8 +89,10 @@ class Junior(models.Model):
|
||||
class JuniorPoints(models.Model):
|
||||
"""Junior model"""
|
||||
junior = models.OneToOneField(Junior, on_delete=models.CASCADE, related_name='junior_points')
|
||||
# Contact details"""
|
||||
total_task_points = models.IntegerField(blank=True, null=True, default=0)
|
||||
# Total earned points"""
|
||||
total_points = models.IntegerField(blank=True, null=True, default=0)
|
||||
# referral points"""
|
||||
referral_points = models.IntegerField(blank=True, null=True, default=0)
|
||||
# position of the junior"""
|
||||
position = models.IntegerField(blank=True, null=True, default=99999)
|
||||
# Profile created and updated time"""
|
||||
|
||||
Reference in New Issue
Block a user