Package com.sparc.knappsack.models

Examples of com.sparc.knappsack.models.ApplicationVersionUserStatisticModel


        return applicationVersionUserStatisticModels;
    }

    public ApplicationVersionUserStatisticModel toModel(ApplicationVersionUserStatistic applicationVersionUserStatistic) {
        ApplicationVersionUserStatisticModel applicationVersionUserStatisticModel = new ApplicationVersionUserStatisticModel();
        applicationVersionUserStatisticModel.setApplicationVersionId(applicationVersionUserStatistic.getApplicationVersion().getId());
        applicationVersionUserStatisticModel.setId(applicationVersionUserStatistic.getId());
        applicationVersionUserStatisticModel.setRemoteAddress(applicationVersionUserStatistic.getRemoteAddress());
        applicationVersionUserStatisticModel.setUserId(applicationVersionUserStatistic.getUser().getId());
        applicationVersionUserStatisticModel.setUserAgent(applicationVersionUserStatistic.getUserAgent());

        applicationVersionUserStatisticModel.setUserName(applicationVersionUserStatistic.getUser().getFullName());
        applicationVersionUserStatisticModel.setUserEmail(applicationVersionUserStatistic.getUser().getEmail());
        applicationVersionUserStatisticModel.setApplicationVersionName(applicationVersionUserStatistic.getApplicationVersion().getVersionName());
        applicationVersionUserStatisticModel.setApplicationName(applicationVersionUserStatistic.getApplicationVersion().getApplication().getName());
        applicationVersionUserStatisticModel.setDate(applicationVersionUserStatistic.getCreateDate());

        return applicationVersionUserStatisticModel;
    }
View Full Code Here

TOP

Related Classes of com.sparc.knappsack.models.ApplicationVersionUserStatisticModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.