ajout des nouveaux models
parent
552a779432
commit
c4082dee79
@ -0,0 +1,42 @@
|
||||
export class Commercant
|
||||
{
|
||||
uid: string;
|
||||
raisonSociale: string;
|
||||
commercialName: string;
|
||||
siret: string;
|
||||
email: string;
|
||||
emailVerified: boolean;
|
||||
password:string;
|
||||
dateInscription: Date;
|
||||
status: string;
|
||||
|
||||
constructor() {
|
||||
this.uid = '';
|
||||
this.raisonSociale = '';
|
||||
this.commercialName = '';
|
||||
this.siret = '';
|
||||
this.email = '';
|
||||
this.emailVerified = false;
|
||||
this.password = '';
|
||||
this.dateInscription = new Date();
|
||||
this.status = '';
|
||||
}
|
||||
/*
|
||||
addParrain(addStatus, addEmail, addFamilyname, addFirstname) {
|
||||
this.uid = '';
|
||||
this.email = addEmail;
|
||||
this.emailVerified = false;
|
||||
this.password = '';
|
||||
this.familyname = addFamilyname;
|
||||
this.firstname = addFirstname;
|
||||
this.username = '';
|
||||
this.birthday = new Date();
|
||||
this.idCard = '';
|
||||
this.secretCode = '';
|
||||
this.status = addStatus;
|
||||
}
|
||||
welcome() {
|
||||
console.log('Hi, ' + this.firstname + '!');
|
||||
}
|
||||
*/
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
export class OperationCommerciale
|
||||
{
|
||||
uid: string;
|
||||
name: string;
|
||||
idCommercant: string;
|
||||
dateDebut: Date;
|
||||
dateFin: Date;
|
||||
carteTemplate: string;
|
||||
avantageParrain: string;
|
||||
deviseAvantageParrain: string;
|
||||
tarifXJCParrain: string;
|
||||
avantageFilleul: string;
|
||||
deviseAvantageFilleul: string;
|
||||
tarifXJCFilleul: string;
|
||||
status: string;
|
||||
|
||||
constructor() {
|
||||
this.uid = '';
|
||||
this.name = '';
|
||||
this.idCommercant = '';
|
||||
this.dateDebut = new Date();
|
||||
this.dateFin = new Date();
|
||||
this.carteTemplate = '';
|
||||
this.avantageParrain = '';
|
||||
this.deviseAvantageParrain = '';
|
||||
this.tarifXJCParrain = '';
|
||||
this.avantageFilleul = '';
|
||||
this.deviseAvantageFilleul = '';
|
||||
this.tarifXJCFilleul = '';
|
||||
this.status = '';
|
||||
}
|
||||
/*
|
||||
addParrain(addStatus, addEmail, addFamilyname, addFirstname) {
|
||||
this.uid = '';
|
||||
this.email = addEmail;
|
||||
this.emailVerified = false;
|
||||
this.password = '';
|
||||
this.familyname = addFamilyname;
|
||||
this.firstname = addFirstname;
|
||||
this.username = '';
|
||||
this.birthday = new Date();
|
||||
this.idCard = '';
|
||||
this.secretCode = '';
|
||||
this.status = addStatus;
|
||||
}
|
||||
welcome() {
|
||||
console.log('Hi, ' + this.firstname + '!');
|
||||
}
|
||||
*/
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
export class Parrain
|
||||
{
|
||||
uid: string;
|
||||
familyname: string;
|
||||
firstname: string;
|
||||
sexe: string;
|
||||
birthday: Date;
|
||||
email: string;
|
||||
emailVerified: boolean;
|
||||
password:string;
|
||||
telephone: string;
|
||||
idCard: string;
|
||||
secretCode: string;
|
||||
status: string;
|
||||
|
||||
constructor() {
|
||||
this.uid = '';
|
||||
this.familyname = '';
|
||||
this.firstname = '';
|
||||
this.sexe = '';
|
||||
this.birthday = new Date();
|
||||
this.email = '';
|
||||
this.emailVerified = false;
|
||||
this.password = '';
|
||||
this.telephone = '';
|
||||
this.idCard = '';
|
||||
this.secretCode = '';
|
||||
this.status = '';
|
||||
}
|
||||
/*
|
||||
addParrain(addStatus, addEmail, addFamilyname, addFirstname) {
|
||||
this.uid = '';
|
||||
this.email = addEmail;
|
||||
this.emailVerified = false;
|
||||
this.password = '';
|
||||
this.familyname = addFamilyname;
|
||||
this.firstname = addFirstname;
|
||||
this.username = '';
|
||||
this.birthday = new Date();
|
||||
this.idCard = '';
|
||||
this.secretCode = '';
|
||||
this.status = addStatus;
|
||||
}
|
||||
welcome() {
|
||||
console.log('Hi, ' + this.firstname + '!');
|
||||
}
|
||||
*/
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
//nouvelle operation commercial / nouvelle carte
|
||||
export class Scan
|
||||
{
|
||||
uid: string;
|
||||
carteParrainID: string;
|
||||
carteFilleulID: string;
|
||||
dateCreation: Date;
|
||||
valeurParrain: string;
|
||||
valeurFilleul: string;
|
||||
type: string;
|
||||
|
||||
|
||||
constructor() {
|
||||
this.uid = '';
|
||||
this.carteParrainID = '';
|
||||
this.carteFilleulID = '';
|
||||
this.dateCreation = new Date();
|
||||
this.valeurParrain = '';
|
||||
this.valeurFilleul = '';
|
||||
this.type = '';
|
||||
}
|
||||
/*
|
||||
addParrain(addStatus, addEmail, addFamilyname, addFirstname) {
|
||||
this.uid = '';
|
||||
this.email = addEmail;
|
||||
this.emailVerified = false;
|
||||
this.password = '';
|
||||
this.familyname = addFamilyname;
|
||||
this.firstname = addFirstname;
|
||||
this.username = '';
|
||||
this.birthday = new Date();
|
||||
this.idCard = '';
|
||||
this.secretCode = '';
|
||||
this.status = addStatus;
|
||||
}
|
||||
welcome() {
|
||||
console.log('Hi, ' + this.firstname + '!');
|
||||
}
|
||||
*/
|
||||
}
|
@ -1,45 +1,46 @@
|
||||
export class User
|
||||
{
|
||||
uid: string;
|
||||
email: string;
|
||||
emailVerified: boolean;
|
||||
password:string;
|
||||
familyname: string;
|
||||
firstname: string;
|
||||
username: string;
|
||||
birthday: Date;
|
||||
idCard: string;
|
||||
secretCode: string;
|
||||
status: string;
|
||||
constructor() {
|
||||
this.uid = '';
|
||||
this.email = '';
|
||||
this.emailVerified = false;
|
||||
this.password = '';
|
||||
this.familyname = '';
|
||||
this.firstname = '';
|
||||
this.username = '';
|
||||
this.birthday = new Date();
|
||||
this.idCard = '';
|
||||
this.secretCode = '';
|
||||
this.status = '';
|
||||
}
|
||||
/*
|
||||
addParrain(addStatus, addEmail, addFamilyname, addFirstname) {
|
||||
this.uid = '';
|
||||
this.email = addEmail;
|
||||
this.emailVerified = false;
|
||||
this.password = '';
|
||||
this.familyname = addFamilyname;
|
||||
this.firstname = addFirstname;
|
||||
this.username = '';
|
||||
this.birthday = new Date();
|
||||
this.idCard = '';
|
||||
this.secretCode = '';
|
||||
this.status = addStatus;
|
||||
}
|
||||
welcome() {
|
||||
console.log('Hi, ' + this.firstname + '!');
|
||||
}
|
||||
*/
|
||||
}
|
||||
export class User
|
||||
{
|
||||
uid: string;
|
||||
email: string;
|
||||
emailVerified: boolean;
|
||||
password:string;
|
||||
familyname: string;
|
||||
firstname: string;
|
||||
username: string;
|
||||
birthday: Date;
|
||||
idCard: string;
|
||||
secretCode: string;
|
||||
status: string;
|
||||
|
||||
constructor() {
|
||||
this.uid = '';
|
||||
this.email = '';
|
||||
this.emailVerified = false;
|
||||
this.password = '';
|
||||
this.familyname = '';
|
||||
this.firstname = '';
|
||||
this.username = '';
|
||||
this.birthday = new Date();
|
||||
this.idCard = '';
|
||||
this.secretCode = '';
|
||||
this.status = '';
|
||||
}
|
||||
/*
|
||||
addParrain(addStatus, addEmail, addFamilyname, addFirstname) {
|
||||
this.uid = '';
|
||||
this.email = addEmail;
|
||||
this.emailVerified = false;
|
||||
this.password = '';
|
||||
this.familyname = addFamilyname;
|
||||
this.firstname = addFirstname;
|
||||
this.username = '';
|
||||
this.birthday = new Date();
|
||||
this.idCard = '';
|
||||
this.secretCode = '';
|
||||
this.status = addStatus;
|
||||
}
|
||||
welcome() {
|
||||
console.log('Hi, ' + this.firstname + '!');
|
||||
}
|
||||
*/
|
||||
}
|
Loading…
Reference in New Issue