package com.ifish.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/** 
 * @ClassName: tbl_live_room
 * @date 2015年7月2日 下午16:40:00 
 *  
 */
@Entity
@Table(name="tbl_live_room")
public class LiveRoom implements Serializable{
	
	private static final long serialVersionUID = -5155435715428041950L;
	/**
	 * ID
	 */
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="room_id")
	private Integer roomId;
	/**
	 * 用户ID
	 */
	@Column(name="user_id",nullable=false)
	private Integer userId;
	/**
	 * 直播间名称
	 */
	@Column(name="room_name",nullable=false)
	private String roomName;
	/**
	 * 直播间描述
	 */
	@Column(name="room_desc")
	private String roomDesc;
	/**
	 * 直播间状态
	 */
	@Column(name="room_status",nullable=false)
	private String roomStatus;
	/**
	 * 人气值
	 */
	@Column(name="popularity_value")
	private Integer popularityValue;
	/**
	 * 首次分享
	 */
	@Column(name="first_share")
	private String firstShare;
	/**
	 * 创建时间
	 */
	@Column(name="create_time")
	@Temporal(TemporalType.TIMESTAMP)
	private Date createTime;
	
	public Integer getRoomId() {
		return roomId;
	}
	public void setRoomId(Integer roomId) {
		this.roomId = roomId;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public String getRoomName() {
		return roomName;
	}
	public void setRoomName(String roomName) {
		this.roomName = roomName;
	}
	public String getRoomDesc() {
		return roomDesc;
	}
	public void setRoomDesc(String roomDesc) {
		this.roomDesc = roomDesc;
	}
	public String getRoomStatus() {
		return roomStatus;
	}
	public void setRoomStatus(String roomStatus) {
		this.roomStatus = roomStatus;
	}
	public Integer getPopularityValue() {
		return popularityValue;
	}
	public void setPopularityValue(Integer popularityValue) {
		this.popularityValue = popularityValue;
	}
	public String getFirstShare() {
		return firstShare;
	}
	public void setFirstShare(String firstShare) {
		this.firstShare = firstShare;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
}
