package cn.pluss.platform.converter;

import cn.pluss.platform.entity.MerchantCashPlace;
import cn.pluss.platform.vo.MerchantCashPlaceVO;
import javax.annotation.Generated;

@Generated(
    value = "org.mapstruct.ap.MappingProcessor",
    date = "2023-01-29T10:16:06+0800",
    comments = "version: 1.4.2.Final, compiler: javac, environment: Java 1.8.0_362 (Amazon.com Inc.)"
)
public class MerchantCashPlaceConverterImpl implements MerchantCashPlaceConverter {

    @Override
    public MerchantCashPlaceVO entity2VO(MerchantCashPlace merchantCashPlace) {
        if ( merchantCashPlace == null ) {
            return null;
        }

        MerchantCashPlaceVO merchantCashPlaceVO = new MerchantCashPlaceVO();

        merchantCashPlaceVO.setId( merchantCashPlace.getId() );
        merchantCashPlaceVO.setUserId( merchantCashPlace.getUserId() );
        merchantCashPlaceVO.setName( merchantCashPlace.getName() );
        merchantCashPlaceVO.setCode( merchantCashPlace.getCode() );
        merchantCashPlaceVO.setAddress( merchantCashPlace.getAddress() );
        merchantCashPlaceVO.setRemark( merchantCashPlace.getRemark() );
        merchantCashPlaceVO.setCreateTime( merchantCashPlace.getCreateTime() );
        merchantCashPlaceVO.setUpdateTime( merchantCashPlace.getUpdateTime() );

        return merchantCashPlaceVO;
    }
}
