/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.jfx.entity;

import com.thinkgem.jeesite.modules.sys.entity.User;

import java.util.Date;

import javax.validation.constraints.NotNull;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 领取记录Entity
 * @author Dean
 * @version 2016-11-22
 */
public class Useroff extends DataEntity<Useroff> {
	
	private static final long serialVersionUID = 1L;
	private String bottleId;		// 领取气瓶编号
	private User user;		// 员工编号
	private String backId;		// 归还气瓶编号
	private Date backDate; //归还日期
	
	
	public Useroff() {
		super();
	}

	public Useroff(String id){
		super(id);
	}

	public String getBottleId() {
		return bottleId;
	}

	public void setBottleId(String bottleId) {
		this.bottleId = bottleId;
	}
	
	@NotNull(message="员工编号不能为空")
	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getBackId() {
		return backId;
	}

	public void setBackId(String backId) {
		this.backId = backId;
	}

	public Date getBackDate() {
		return backDate;
	}

	public void setBackDate(Date backDate) {
		this.backDate = backDate;
	}
	
}