Newer
Older
// jsp ou le ranger mdr
class Movie{
constructor(name, author, note){
this.name = name;
this.author = author;
this.note = note;
}
/**
* Cette fonction convertit une requete SQL en Movie
*
* @param {[string, string, int, int, int, float, int, string] ??} param - Résultat requete.
* @returns {Movie} - le film
*/
toMovie(param){
return new Movie;
}