<?xml version="1.0" ?>

<!--

 This file is part of the Sylius package.

 (c) Sylius Sp. z o.o.

 For the full copyright and license information, please view the LICENSE
 file that was distributed with this source code.

-->

<serializer xmlns="http://symfony.com/schema/dic/serializer-mapping"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://symfony.com/schema/dic/serializer-mapping https://symfony.com/schema/dic/serializer-mapping/serializer-mapping-1.0.xsd"
>
    <class name="Sylius\Component\Core\Model\AdminUser">
        <attribute name="id">
            <group>admin:admin_user:index</group>
            <group>sylius:admin:admin_user:index</group>
            <group>admin:admin_user:show</group>
            <group>sylius:admin:admin_user:show</group>
        </attribute>
        <attribute name="email">
            <group>admin:admin_user:index</group>
            <group>sylius:admin:admin_user:index</group>
            <group>admin:admin_user:show</group>
            <group>sylius:admin:admin_user:show</group>
            <group>admin:admin_user:create</group>
            <group>sylius:admin:admin_user:create</group>
            <group>admin:admin_user:update</group>
            <group>sylius:admin:admin_user:update</group>
        </attribute>
        <attribute name="username">
            <group>admin:admin_user:index</group>
            <group>sylius:admin:admin_user:index</group>
            <group>admin:admin_user:show</group>
            <group>sylius:admin:admin_user:show</group>
            <group>admin:admin_user:create</group>
            <group>sylius:admin:admin_user:create</group>
            <group>admin:admin_user:update</group>
            <group>sylius:admin:admin_user:update</group>
        </attribute>
        <attribute name="plainPassword">
            <group>admin:admin_user:create</group>
            <group>sylius:admin:admin_user:create</group>
            <group>admin:admin_user:update</group>
            <group>sylius:admin:admin_user:update</group>
        </attribute>
        <attribute name="enabled">
            <group>admin:admin_user:index</group>
            <group>sylius:admin:admin_user:index</group>
            <group>admin:admin_user:show</group>
            <group>sylius:admin:admin_user:show</group>
            <group>admin:admin_user:create</group>
            <group>sylius:admin:admin_user:create</group>
            <group>admin:admin_user:update</group>
            <group>sylius:admin:admin_user:update</group>
        </attribute>
        <attribute name="firstName">
            <group>admin:admin_user:index</group>
            <group>sylius:admin:admin_user:index</group>
            <group>admin:admin_user:show</group>
            <group>sylius:admin:admin_user:show</group>
            <group>admin:admin_user:create</group>
            <group>sylius:admin:admin_user:create</group>
            <group>admin:admin_user:update</group>
            <group>sylius:admin:admin_user:update</group>
        </attribute>
        <attribute name="lastName">
            <group>admin:admin_user:index</group>
            <group>sylius:admin:admin_user:index</group>
            <group>admin:admin_user:show</group>
            <group>sylius:admin:admin_user:show</group>
            <group>admin:admin_user:create</group>
            <group>sylius:admin:admin_user:create</group>
            <group>admin:admin_user:update</group>
            <group>sylius:admin:admin_user:update</group>
        </attribute>
        <attribute name="localeCode">
            <group>admin:admin_user:index</group>
            <group>sylius:admin:admin_user:index</group>
            <group>admin:admin_user:show</group>
            <group>sylius:admin:admin_user:show</group>
            <group>admin:admin_user:create</group>
            <group>sylius:admin:admin_user:create</group>
            <group>admin:admin_user:update</group>
            <group>sylius:admin:admin_user:update</group>
        </attribute>
        <attribute name="avatar">
            <group>admin:admin_user:index</group>
            <group>sylius:admin:admin_user:index</group>
            <group>admin:admin_user:show</group>
            <group>sylius:admin:admin_user:show</group>
        </attribute>
        <attribute name="createdAt">
            <group>admin:admin_user:index</group>
            <group>sylius:admin:admin_user:index</group>
            <group>admin:admin_user:show</group>
            <group>sylius:admin:admin_user:show</group>
        </attribute>
        <attribute name="updatedAt">
            <group>admin:admin_user:index</group>
            <group>sylius:admin:admin_user:index</group>
            <group>admin:admin_user:show</group>
            <group>sylius:admin:admin_user:show</group>
        </attribute>
        <attribute name="verifiedAt">
            <group>admin:admin_user:index</group>
            <group>sylius:admin:admin_user:index</group>
            <group>admin:admin_user:show</group>
            <group>sylius:admin:admin_user:show</group>
        </attribute>
        <attribute name="lastLogin">
            <group>admin:admin_user:index</group>
            <group>sylius:admin:admin_user:index</group>
            <group>admin:admin_user:show</group>
            <group>sylius:admin:admin_user:show</group>
        </attribute>
    </class>
</serializer>
