0

每当新创建的个人资料与他的搜索词匹配时,发送电子邮件提醒。我有两个模块招聘人员和求职者。招聘人员可以发布他们的工作,而求职者可以发布他们的个人资料。如果招聘人员根据城市名称、关键技能、行业类型等搜索求职者的个人资料。搜索结果可以保存以备将来使用。如果任何新求职者的个人资料与之前保存的搜索结果匹配,它会自动向招聘人员发送电子邮件。每当新的求职者可以匹配招聘人员的搜索词时,都会发送此警报。

招聘人员表

class jobs(models.Model):
    user = models.ForeignKey(User)
    title = models.CharField(max_length=100)
    jobsummary = models.TextField()
    industry = models.CharField(max_length=100)
    functionalarea = models.CharField(max_length=100)
    min_exp = models.IntegerField(default=0)
    max_exp = models.IntegerField(default=0)

class employerkeyskills(models.Model):
    user = models.ForeignKey(User)
    job=models.ForeignKey(jobs, unique=False)
    keyskills=models.CharField(max_length=50)

class RecSaveSearch(models.Model):
    user = models.ForeignKey(User)
    employer=models.ForeignKey(User,unique=False)
    searchname=models.CharField(max_length=100,blank=True)
    savedsearch=models.CharField(max_length=400, blank=True)

求职者资料表

class JSPersonal(models.Model):
    user = models.ForeignKey(User)
    name=models.CharField(max_length=100, blank=True, null=True)
    email = models.EmailField(max_length=100, blank=True, null=True)
    city = models.CharField(max_length=100, blank=True, null=True)
    work_expyears = models.CharField(max_length=100, blank=True, null=True)
    work_expmonths = models.CharField(max_length=100, blank=True, null=True)
    salaryrange = models.CharField(max_length=50, blank=True, null=True)
    industry = models.CharField(max_length=100, blank=True, null=True)

class JSSkills(models.Model):
    user = models.ForeignKey(User)
    skill = models.CharField(max_length=100, blank=True, null=True)
    version = models.CharField(max_length=100, blank=True, null=True)
    lastused = models.CharField(max_length=100, blank=True, null=True)
    skillyear = models.CharField(max_length=100, blank=True, null=True)
    skillmon = models.CharField(max_length=100, blank=True, null=True)
4

0 回答 0