17 lines
598 B
Plaintext
17 lines
598 B
Plaintext
/*************************/
|
|
/* GENERER 100 étudiants */
|
|
/*************************/
|
|
|
|
[
|
|
'{{repeat(100)}}',
|
|
{
|
|
pseudo: function(tags){
|
|
return String.fromCharCode(tags.integer(97,122)) + String.fromCharCode(tags.integer(97,122)) + String.fromCharCode(tags.integer(97,122)) + tags.integer(1900,1999) + 'a';
|
|
},
|
|
prenom: function(tags){ return tags.firstName(); },
|
|
nom: function(tags){ return tags.surname().toUpperCase(); },
|
|
email: function(){ return (this.prenom +'.'+ this.nom +'@etu.iut-tlse3.fr').toLowerCase(); },
|
|
password: '{{guid()}}',
|
|
droits: 'student'
|
|
}
|
|
] |