--- /dev/null
+/**
+ * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
+ *
+ * This library is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License as published by the Free
+ * Software Foundation; either version 2.1 of the License, or (at your option)
+ * any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+ * details.
+ */
+
+package com.pentila.entSavoie.model.impl;
+
+import com.liferay.portal.kernel.util.StringBundler;
+import com.liferay.portal.model.CacheModel;
+
+import com.pentila.entSavoie.model.DiskUsageGroup;
+
+import java.io.Serializable;
+
+/**
+ * The cache model class for representing DiskUsageGroup in entity cache.
+ *
+ * @author Alexandre Lefevre
+ * @see DiskUsageGroup
+ * @generated
+ */
+public class DiskUsageGroupCacheModel implements CacheModel<DiskUsageGroup>,
+ Serializable {
+ @Override
+ public String toString() {
+ StringBundler sb = new StringBundler(15);
+
+ sb.append("{idDiskUsageGroup=");
+ sb.append(idDiskUsageGroup);
+ sb.append(", groupId=");
+ sb.append(groupId);
+ sb.append(", etabId=");
+ sb.append(etabId);
+ sb.append(", docSize=");
+ sb.append(docSize);
+ sb.append(", actuSize=");
+ sb.append(actuSize);
+ sb.append(", forumSize=");
+ sb.append(forumSize);
+ sb.append(", globalSize=");
+ sb.append(globalSize);
+ sb.append("}");
+
+ return sb.toString();
+ }
+
+ public DiskUsageGroup toEntityModel() {
+ DiskUsageGroupImpl diskUsageGroupImpl = new DiskUsageGroupImpl();
+
+ diskUsageGroupImpl.setIdDiskUsageGroup(idDiskUsageGroup);
+ diskUsageGroupImpl.setGroupId(groupId);
+ diskUsageGroupImpl.setEtabId(etabId);
+ diskUsageGroupImpl.setDocSize(docSize);
+ diskUsageGroupImpl.setActuSize(actuSize);
+ diskUsageGroupImpl.setForumSize(forumSize);
+ diskUsageGroupImpl.setGlobalSize(globalSize);
+
+ diskUsageGroupImpl.resetOriginalValues();
+
+ return diskUsageGroupImpl;
+ }
+
+ public long idDiskUsageGroup;
+ public long groupId;
+ public long etabId;
+ public long docSize;
+ public long actuSize;
+ public long forumSize;
+ public long globalSize;
+}
\ No newline at end of file