// Path: common-utils/src/main/java/com/stnetix/ariaddna/commonutils/dto/UserDTO.java
// public class UserDTO implements Serializable {
//     private UUID uuid;
// 
//     private String nickname;
// 
//     public UUID getUuid() {
//         return uuid;
//     }
// 
//     public void setUuid(UUID uuid) {
//         this.uuid = uuid;
//     }
// 
//     public String getNickname() {
//         return nickname;
//     }
// 
//     public void setNickname(String nickname) {
//         this.nickname = nickname;
//     }
// }


import com.stnetix.ariaddna.commonutils.dto.UserDTO;
import com.stnetix.ariaddna.persistence.entities.UserEntity;
import org.mapstruct.Mapper;
/*
 * Copyright (c) 2017 stnetix.com. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License.  You may obtain a copy of
 * the License at http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed
 * under the License is distributed on an "AS IS" BASIS, without warranties or
 * conditions of any kind, EITHER EXPRESS OR IMPLIED.  See the License for the
 * specific language governing permissions and limitations under the License.
 */

package com.stnetix.ariaddna.persistence.transformers;



/**
 * Created by alexkotov on 13.09.17.
 */
@Mapper
public interface UserTransformer {
    UserEntity userDTOToEntity(UserDTO userDTO);

// Path: common-utils/src/main/java/com/stnetix/ariaddna/commonutils/dto/UserDTO.java
// public class UserDTO implements Serializable {
//     private UUID uuid;
// 
//     private String nickname;
// 
//     public UUID getUuid() {
//         return uuid;
//     }
// 
//     public void setUuid(UUID uuid) {
//         this.uuid = uuid;
//     }
// 
//     public String getNickname() {
//         return nickname;
//     }
// 
//     public void setNickname(String nickname) {
//         this.nickname = nickname;
//     }
// }


// Path: storage-service/src/main/java/com/stnetix/ariaddna/persistence/transformers/UserTransformer.java
import com.stnetix.ariaddna.commonutils.dto.UserDTO;
import com.stnetix.ariaddna.persistence.entities.UserEntity;
import org.mapstruct.Mapper;

/*
 * Copyright (c) 2017 stnetix.com. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License.  You may obtain a copy of
 * the License at http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed
 * under the License is distributed on an "AS IS" BASIS, without warranties or
 * conditions of any kind, EITHER EXPRESS OR IMPLIED.  See the License for the
 * specific language governing permissions and limitations under the License.
 */

package com.stnetix.ariaddna.persistence.transformers;



/**
 * Created by alexkotov on 13.09.17.
 */
@Mapper
public interface UserTransformer {
    UserEntity userDTOToEntity(UserDTO userDTO);

    UserDTO userEntityToDTO(UserEntity userEntity);