This commit is contained in:
2021-02-05 16:11:27 +00:00
parent fc8d4ba436
commit ad26cc9c60
2 changed files with 4 additions and 4 deletions

View File

@@ -226,7 +226,7 @@ namespace AyaNova.Util
await SeedUserAsync(log, 1, AuthorizationRoles.BizAdminFull | AuthorizationRoles.DispatchFull | AuthorizationRoles.InventoryFull | AuthorizationRoles.OpsAdminFull, UserType.Service);
//Generate one office person / secretary
await SeedUserAsync(log, 1, AuthorizationRoles.DispatchFull | AuthorizationRoles.InventoryFull | AuthorizationRoles.AccountingFull, UserType.NotService);
await SeedWidgetAsync(log, 100);
await SeedWidgetAsync(log, 10000);
await SeedCustomerAsync(log, 100);
await SeedHeadOfficeAsync(log, 10);
await SeedVendorAsync(log, 25);
@@ -909,8 +909,8 @@ namespace AyaNova.Util
Array values = Enum.GetValues(typeof(UserType));
Random random = new Random();
DateTime seedStartWindow = DateTime.Now.AddYears(-1);
DateTime seedEndWindow = DateTime.Now.AddYears(1);
DateTime seedStartWindow = DateTime.Now.AddYears(-2);
DateTime seedEndWindow = DateTime.Now.AddYears(2);
for (int x = 0; x < count; x++)
{
Widget o = new Widget();