#
# Scenario: set dynamic unique random data and make use of alice DSL
#

Nelmio\Alice\scenario3\ImmutableUser:
    immutable_user_{0..1000}:
        __construct:
            0 (unique): <userName()>
            1 (unique): <name()>
            2 (unique): <dateTime()>
            3 (unique): <email()>
            4 (unique): <randomNumber()>

Nelmio\Alice\scenario3\MutableUser:
    mutable_user_{0..1000}:
        username (unique): <userName()>
        fullname (unique): <name()>
        createdAt (unique): <dateTimeBetween("-200 days", "now")>
        updatedAt (unique): <dateTimeBetween($createdAt, "now")>
        email (unique): <email()>
        members (unique): '3x @immutable_user_*'

Nelmio\Alice\scenario3\PublicUser:
    public_user_{0..1000}:
        username (unique): <userName()>
        fullname (unique): <name()>
        birthDate (unique): <dateTime()>
        email (unique): <email()>
        favoriteNumber (unique): <randomNumber()>

stdClass:
    std_user_{0..1000}:
        username (unique): <userName()>
        fullname (unique): <name()>
        birthDate (unique): <dateTime()>
        email (unique): <email()>
        favoriteNumber (unique): <randomNumber()>
