This commit is contained in:
2020-01-22 19:29:02 +00:00
parent 9a16a6d92f
commit c4f9dd2914

View File

@@ -529,8 +529,8 @@ namespace AyaNova.Util
u.Roles = roles;
u.LocaleId = localeId == 0 ? ServerBootConfig.AYANOVA_DEFAULT_LANGUAGE_ID : localeId;
u.UserType = userType;
u.EmployeeNumber = (44 + SeededUserCount).ToString();
u.Notes = Fake.Name.JobDescriptor();
u.EmployeeNumber = "A-" + (44 + SeededUserCount).ToString() + "-Y";
u.Notes = Fake.Lorem.Paragraph(2);
//TODO: After have USER and HEADOFFICE and VENDOR, if usertype is subcontractor or client or headoffice it needs to set a corresponding user's parent org record id to go with it
u.Tags = RandomTags(Fake);
//Children and relations