Add job info to the user and associate the cv file
JGAntunes opened this issue · comments
CV.Schema({
id: {type: String, unique: true},
file: {type: String, unique: true},
area: String,
startup: Boolean,
internship: Boolean,
available: Date,
expires: Date,
});
Is it missing something? @palma21 @sinfo/dev-team
I'll also be adding Fenix info later probably.
About the expiration, who's supposed to set it? Us or the user? @palma21
Us
We use the submit date and availability date, if it is set, and add a predefined value
-----Original Message-----
From: "João Antunes" notifications@github.com
Sent: 05/02/2015 07:52
To: "sinfo/cannon-api" cannon-api@noreply.github.com
Cc: "Jorge Palma" jorge.palma@ist.utl.pt
Subject: Re: [cannon-api] Add CV model and associate it to the file and user(#36)
About the expiration, who's supposed to set it? Us or the user? @palma21
—
Reply to this email directly or view it on GitHub.
Reopened just to remember to implement @palma21 expiration feature.
Expiration date will not be added to the model, we'll calculate it on the fly when we need it.
That will make querys heavy but ok...
-----Original Message-----
From: "João Antunes" notifications@github.com
Sent: 07/02/2015 13:03
To: "sinfo/cannon-api" cannon-api@noreply.github.com
Cc: "Jorge Palma" jorge.palma@ist.utl.pt
Subject: Re: [cannon-api] Add job info to the user and associate the cv file(#36)
Expiration date will not be added to the model, we'll calculate it on the fly when we need it.
—
Reply to this email directly or view it on GitHub.
@palma21 what formula where u thinking to use? Because, as I'm seeing this, the expiration date will be the same for everyone based on the present date.
For example, if today I wanted to know the expired cv's I would calculate a date based on the present day from which every cv that had an availibility to work date prior to that one would be considered expired.
That second phrase. No idea what you said there. lol
Example query. Applicants available in June. If we only store the submit
date, in the query will have to calculate for each entry the expire date
and compare it with june of that year.
Again, not important to me now. This being available is the important thing
now, enhancements after.
2015-02-08 3:36 GMT+00:00 João Antunes notifications@github.com:
What formula where u thinking to use? Because, as I'm seeing this, the
expiration date will be the same for everyone based on the present date.
For example, if today I wanted to know the expired cv's I would calculate
a date based on the present day from which every cv that had an
availibility to work date prior to that one would be considered expired.—
Reply to this email directly or view it on GitHub
#36 (comment).
Jorge Palma
Nº 67024
MEIC-Alameda