internal static ICustomer GetRandom() { PrivateCustomer result = new() { Forename = ComplexDataStructureUtilities.GetRandomName(), Surname = ComplexDataStructureUtilities.GetRandomName(), ContactPhoneNumber = ComplexDataStructureUtilities.GetRandomPhoneNumber(), MainResidence = Address.GetRandom(), DateOfBirth = ComplexDataStructureUtilities.GetRandomDateOfBirth() }; return(result); }
public static Employee GetRandom(OrganizationUnit organizationUnit = null) { Employee result = new() { OrganizationUnit = organizationUnit, Forename = ComplexDataStructureUtilities.GetRandomName(), Surname = ComplexDataStructureUtilities.GetRandomName(), DateOfBirth = ComplexDataStructureUtilities.GetRandomDateOfBirth(), MainResidence = Address.GetRandom() }; return(result); }