示例#1
0
 public Attendee()
 {
     ObjectHelper.SetDefaultValues(this);
     this.Name        = RandomDataHelper.GetRandomString(5);
     this.SurName     = RandomDataHelper.GetRandomString(5);
     this.Email       = RandomDataHelper.GetRandomMail();
     this.PhoneNumber = RandomDataHelper.GetRandomNumber(9);
 }
示例#2
0
 public ContactData()
 {
     ObjectHelper.SetDefaultValues(this);
     this.PersonDataName     = RandomDataHelper.GetRandomString(5);
     this.PersonDataSurname  = RandomDataHelper.GetRandomString(5);
     this.PersonDataPhone    = RandomDataHelper.GetRandomNumber(9);
     this.PersonDataEmail    = RandomDataHelper.GetRandomMail();
     this.ContactName        = RandomDataHelper.GetRandomString(5);
     this.ContactSurname     = RandomDataHelper.GetRandomString(5);
     this.ContactAddress     = RandomDataHelper.GetRandomString(5);
     this.ContactCity        = string.Format("Waw{0}", RandomDataHelper.GetRandomString(5));
     this.ContactPostCode    = string.Format("0{0}-{1}", RandomDataHelper.GetRandomNumber(1), RandomDataHelper.GetRandomNumber(3));
     this.InvoiceCompanyName = RandomDataHelper.GetRandomString(5);
     this.InvoiceEmail       = RandomDataHelper.GetRandomMail();
     this.InvoiceAddress     = RandomDataHelper.GetRandomString(5);
     this.InvoiceCity        = string.Format("Waw{0}", RandomDataHelper.GetRandomString(5));
     this.InvoicePostalCode  = string.Format("0{0}-{1}", RandomDataHelper.GetRandomNumber(1), RandomDataHelper.GetRandomNumber(3));
     this.LetterCompanyName  = RandomDataHelper.GetRandomString(5);
     this.LetterAddress      = RandomDataHelper.GetRandomString(5);
     this.LetterCity         = string.Format("Waw{0}", RandomDataHelper.GetRandomString(5));
     this.LetterPostalCode   = string.Format("0{0}-{1}", RandomDataHelper.GetRandomNumber(1), RandomDataHelper.GetRandomNumber(3));
     this.Comment            = string.Format("A-Team {0}", DateTime.Now);
     this.InvoiceNip         = RandomDataHelper.GetRandomNip();
 }