This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user