import { FireImg } from './FireImg';
export class User
{
  uid: string;
  // familyname: string;
  // firstname: string;
  // sex: string;
  // birthday: Date;
  image: FireImg;
  email: string;
  emailVerified: boolean;
  password: string;
  // telephone: string;
  // username ne serta a rien
  // username: string;
  // idCard: string;
  // secretCode: string;
  status: string;

  constructor() {
    this.uid = '';
    // this.familyname = '';
    // this.firstname = '';
    // this.sex = '';
    // this.birthday = new Date();
    this.image = new FireImg();
    this.email = '';
    this.emailVerified = false;
    this.password = '';
    //  this.telephone = '';
    // username ne serta a rien
    // this.username = '';
    // 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 + '!');
  }
  */
}
