All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.spin.tar.model.MHRAttendanceRecord Maven / Gradle / Ivy

There is a newer version: shw-air-terminal-vertical-1.0.57
Show newest version
/*************************************************************************************
 * Product: Adempiere ERP & CRM Smart Business Solution                              *
 * This program is free software; you can redistribute it and/or modify it    		 *
 * under the terms version 2 or later of the GNU General Public License as published *
 * by the Free Software Foundation. This program 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 General Public License for more details.                       		 *
 * You should have received a copy of the GNU General Public License along    		 *
 * with this program; if not, write to the Free Software Foundation, Inc.,    		 *
 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.                     		 *
 * For the text or an alternative of this public license, you may reach us    		 *
 * Copyright (C) 2012-2018 E.R.P. Consultores y Asociados, S.A. All Rights Reserved. *
 * Contributor(s): Yamel Senih www.erpya.com				  		                 *
 *************************************************************************************/
package org.spin.tar.model;

import java.sql.ResultSet;
import java.util.Properties;

import org.adempiere.core.domains.models.X_HR_AttendanceRecord;

/**
 * Attendance Record
 * @author yamel, [email protected] , http://www.erpya.com
 * 
  • FR [ 1834 ] HR Attendance: Define E-R Model * @see https://github.com/adempiere/adempiere/issues/1834 */ public class MHRAttendanceRecord extends X_HR_AttendanceRecord { public MHRAttendanceRecord(Properties ctx, int HR_AttendanceRecord_ID, String trxName) { super(ctx, HR_AttendanceRecord_ID, trxName); } /** Load Constructor */ public MHRAttendanceRecord (Properties ctx, ResultSet rs, String trxName) { super (ctx, rs, trxName); } /** * Constructor from parent * @param batch */ public MHRAttendanceRecord(MHRAttendanceBatch batch) { super(batch.getCtx(), 0, batch.get_TrxName()); // Set default setClientOrg(batch); setHR_AttendanceBatch_ID(batch.getHR_AttendanceBatch_ID()); } /** * Parent */ private MHRAttendanceBatch parent = null; /** * */ private static final long serialVersionUID = -5944305280305958239L; /** * Get parent * @return */ public MHRAttendanceBatch getParent() { if(parent == null) { parent = new MHRAttendanceBatch(getCtx(), getHR_AttendanceBatch_ID(), get_TrxName()); } // Return return parent; } @Override public String toString() { return "MHRAttendanceRecord [getAttendanceTime()=" + getAttendanceTime() + ", getHR_AttendanceRecord_ID()=" + getHR_AttendanceRecord_ID() + "]"; } }




  • © 2015 - 2024 Weber Informatics LLC | Privacy Policy