--- /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.cantine.model.impl;
+
+import com.liferay.portal.kernel.util.StringBundler;
+import com.liferay.portal.model.CacheModel;
+
+import com.pentila.entSavoie.cantine.model.CantineCollegeConfiguration;
+
+import java.io.Serializable;
+
+/**
+ * The cache model class for representing CantineCollegeConfiguration in entity cache.
+ *
+ * @author Mathieu Amblard
+ * @see CantineCollegeConfiguration
+ * @generated
+ */
+public class CantineCollegeConfigurationCacheModel implements CacheModel<CantineCollegeConfiguration>,
+ Serializable {
+ @Override
+ public String toString() {
+ StringBundler sb = new StringBundler(13);
+
+ sb.append("{cantineCollegeConfigurationId=");
+ sb.append(cantineCollegeConfigurationId);
+ sb.append(", etabId=");
+ sb.append(etabId);
+ sb.append(", hasMercredi=");
+ sb.append(hasMercredi);
+ sb.append(", hasSamedi=");
+ sb.append(hasSamedi);
+ sb.append(", hasDimanche=");
+ sb.append(hasDimanche);
+ sb.append(", hasInternat=");
+ sb.append(hasInternat);
+ sb.append("}");
+
+ return sb.toString();
+ }
+
+ public CantineCollegeConfiguration toEntityModel() {
+ CantineCollegeConfigurationImpl cantineCollegeConfigurationImpl = new CantineCollegeConfigurationImpl();
+
+ cantineCollegeConfigurationImpl.setCantineCollegeConfigurationId(cantineCollegeConfigurationId);
+ cantineCollegeConfigurationImpl.setEtabId(etabId);
+ cantineCollegeConfigurationImpl.setHasMercredi(hasMercredi);
+ cantineCollegeConfigurationImpl.setHasSamedi(hasSamedi);
+ cantineCollegeConfigurationImpl.setHasDimanche(hasDimanche);
+ cantineCollegeConfigurationImpl.setHasInternat(hasInternat);
+
+ cantineCollegeConfigurationImpl.resetOriginalValues();
+
+ return cantineCollegeConfigurationImpl;
+ }
+
+ public long cantineCollegeConfigurationId;
+ public long etabId;
+ public boolean hasMercredi;
+ public boolean hasSamedi;
+ public boolean hasDimanche;
+ public boolean hasInternat;
+}
\ No newline at end of file