SignControl.java 1.61 KB
package com.bsth.entity.sys;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * 
 * @ClassName: SignControl
 * @Description: TODO(进出线调记录)
 * @author PanZhao
 * @date 2016年7月20日 下午4:50:50
 *
 */
@Entity
@Table(name = "bsth_c_sys_sign")
public class SignControl {

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;

	@ManyToOne
	private SessionLog session;

	/** 登出线调时间 */
	private Date outDate;

	/** 在线时长 */
	private Long onLineTimel;

	/** 0: 主调模式, 1:监控模式 */
	private int signType;
	
	/** 用户名 */
	private String userName;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public SessionLog getSession() {
		return session;
	}

	public void setSession(SessionLog session) {
		this.session = session;
	}

	public Date getOutDate() {
		return outDate;
	}

	public void setOutDate(Date outDate) {
		this.outDate = outDate;
	}

	public Long getOnLineTimel() {
		return onLineTimel;
	}

	public void setOnLineTimel(Long onLineTimel) {
		this.onLineTimel = onLineTimel;
	}

	public int getSignType() {
		return signType;
	}

	public void setSignType(int signType) {
		this.signType = signType;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
}