Files
pi-ux-ce 73c89d8d93
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
work on new app
2026-06-22 11:43:38 +01:00

30 lines
1.1 KiB
Python

from django.db import models
status_CHOICES = (
('Rejected','Rejected'),
('Applied','Applied'),
('Negotiating','Negotiating'),
('Bookmarked','Bookmarked'),
('Accepted','Accepted')
)
class JobData(models.Model):
job_position = models.CharField(max_length=100, null=True)
company = models.CharField(max_length=100, null=True)
URL = models.URLField(max_length=1000,null=True)
status = models.CharField(max_length=100,choices=status_CHOICES, null=True)
date_saved = models.CharField(max_length=100, null=True)
date_applied = models.CharField(max_length=100, null=True)
type = models.CharField(max_length=100, null=True)
resume = models.URLField(max_length=200, null=True)
#cover_letter = models.URLField(max_length=200, null=True)
location = models.CharField(max_length=100, null=True)
job_description = models.CharField(null=True)
salary = models.CharField(null=True)
contact = models.CharField(max_length=100, null=True)
source = models.CharField(max_length=100, null=True)
class Meta:
db_table = 'job'