// Path: Server/src/com/hufeiya/entity/SignInfo.java
// public class SignInfo implements java.io.Serializable {
// 
// 	// Fields
// 
// 	private Integer signId;
// 	private Student student;
// 	private Course course;
// 	private String signDetail;
// 	private Integer signTimes;
// 	private String lastSignPhoto;
// 
// 	// Constructors
// 
// 	/** default constructor */
// 	public SignInfo() {
// 	}
// 
// 	/** minimal constructor */
// 	public SignInfo(Student student, Course course) {
// 		this.student = student;
// 		this.course = course;
// 	}
// 
// 	/** full constructor */
// 	public SignInfo(Student student, Course course, String signDetail,
// 			Integer signTimes, String lastSignPhoto) {
// 		this.student = student;
// 		this.course = course;
// 		this.signDetail = signDetail;
// 		this.signTimes = signTimes;
// 		this.lastSignPhoto = lastSignPhoto;
// 	}
// 	/** constructor for update*/
// 	public SignInfo( String signDetail,
// 			Integer signTimes, String lastSignPhoto) {
// 		this.signDetail = signDetail;
// 		this.signTimes = signTimes;
// 		this.lastSignPhoto = lastSignPhoto;
// 	}
// 
// 	// Property accessors
// 
// 	public Integer getSignId() {
// 		return this.signId;
// 	}
// 
// 	public void setSignId(Integer signId) {
// 		this.signId = signId;
// 	}
// 
// 	public Student getStudent() {
// 		return this.student;
// 	}
// 
// 	public void setStudent(Student student) {
// 		this.student = student;
// 	}
// 
// 	public Course getCourse() {
// 		return this.course;
// 	}
// 
// 	public void setCourse(Course course) {
// 		this.course = course;
// 	}
// 
// 	public String getSignDetail() {
// 		return this.signDetail;
// 	}
// 
// 	public void setSignDetail(String signDetail) {
// 		this.signDetail = signDetail;
// 	}
// 
// 	public Integer getSignTimes() {
// 		return this.signTimes;
// 	}
// 
// 	public void setSignTimes(Integer signTimes) {
// 		this.signTimes = signTimes;
// 	}
// 
// 	public String getLastSignPhoto() {
// 		return this.lastSignPhoto;
// 	}
// 
// 	public void setLastSignPhoto(String lastSignPhoto) {
// 		this.lastSignPhoto = lastSignPhoto;
// 	}
// 
// }


import java.util.List;
import org.hibernate.LockOptions;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.Transaction;
import org.hibernate.criterion.Example;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.hufeiya.entity.SignInfo;
package com.hufeiya.DAO;




/**
 * A data access object (DAO) providing persistence and search support for
 * SignInfo entities. Transaction control of the save(), update() and delete()
 * operations can directly support Spring container-managed transactions or they
 * can be augmented to handle user-managed Spring transactions. Each of these
 * methods provides additional information for how to configure it for the
 * desired type of transaction control.
 * 
 * @see com.hufeiya.DAO.SignInfo
 * @author MyEclipse Persistence Tools
 */
public class SignInfoDAO extends BaseHibernateDAO {
	private static final Logger log = LoggerFactory
			.getLogger(SignInfoDAO.class);
	// property constants
	public static final String SIGN_DETAIL = "signDetail";
	public static final String SIGN_TIMES = "signTimes";
	public static final String LAST_SIGN_PHOTO = "lastSignPhoto";

// Path: Server/src/com/hufeiya/entity/SignInfo.java
// public class SignInfo implements java.io.Serializable {
// 
// 	// Fields
// 
// 	private Integer signId;
// 	private Student student;
// 	private Course course;
// 	private String signDetail;
// 	private Integer signTimes;
// 	private String lastSignPhoto;
// 
// 	// Constructors
// 
// 	/** default constructor */
// 	public SignInfo() {
// 	}
// 
// 	/** minimal constructor */
// 	public SignInfo(Student student, Course course) {
// 		this.student = student;
// 		this.course = course;
// 	}
// 
// 	/** full constructor */
// 	public SignInfo(Student student, Course course, String signDetail,
// 			Integer signTimes, String lastSignPhoto) {
// 		this.student = student;
// 		this.course = course;
// 		this.signDetail = signDetail;
// 		this.signTimes = signTimes;
// 		this.lastSignPhoto = lastSignPhoto;
// 	}
// 	/** constructor for update*/
// 	public SignInfo( String signDetail,
// 			Integer signTimes, String lastSignPhoto) {
// 		this.signDetail = signDetail;
// 		this.signTimes = signTimes;
// 		this.lastSignPhoto = lastSignPhoto;
// 	}
// 
// 	// Property accessors
// 
// 	public Integer getSignId() {
// 		return this.signId;
// 	}
// 
// 	public void setSignId(Integer signId) {
// 		this.signId = signId;
// 	}
// 
// 	public Student getStudent() {
// 		return this.student;
// 	}
// 
// 	public void setStudent(Student student) {
// 		this.student = student;
// 	}
// 
// 	public Course getCourse() {
// 		return this.course;
// 	}
// 
// 	public void setCourse(Course course) {
// 		this.course = course;
// 	}
// 
// 	public String getSignDetail() {
// 		return this.signDetail;
// 	}
// 
// 	public void setSignDetail(String signDetail) {
// 		this.signDetail = signDetail;
// 	}
// 
// 	public Integer getSignTimes() {
// 		return this.signTimes;
// 	}
// 
// 	public void setSignTimes(Integer signTimes) {
// 		this.signTimes = signTimes;
// 	}
// 
// 	public String getLastSignPhoto() {
// 		return this.lastSignPhoto;
// 	}
// 
// 	public void setLastSignPhoto(String lastSignPhoto) {
// 		this.lastSignPhoto = lastSignPhoto;
// 	}
// 
// }


// Path: Server/src/com/hufeiya/DAO/SignInfoDAO.java
import java.util.List;
import org.hibernate.LockOptions;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.Transaction;
import org.hibernate.criterion.Example;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.hufeiya.entity.SignInfo;

package com.hufeiya.DAO;




/**
 * A data access object (DAO) providing persistence and search support for
 * SignInfo entities. Transaction control of the save(), update() and delete()
 * operations can directly support Spring container-managed transactions or they
 * can be augmented to handle user-managed Spring transactions. Each of these
 * methods provides additional information for how to configure it for the
 * desired type of transaction control.
 * 
 * @see com.hufeiya.DAO.SignInfo
 * @author MyEclipse Persistence Tools
 */
public class SignInfoDAO extends BaseHibernateDAO {
	private static final Logger log = LoggerFactory
			.getLogger(SignInfoDAO.class);
	// property constants
	public static final String SIGN_DETAIL = "signDetail";
	public static final String SIGN_TIMES = "signTimes";
	public static final String LAST_SIGN_PHOTO = "lastSignPhoto";

	public void save(SignInfo transientInstance) {