package com.ssj.bean.course.domain;

import com.ssj.bean.common.framework.core.domain.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/** 
 * @author  ZhangCaibao 
 * @version 2018年10月18日 下午3:00:59 
 * 类说明  家长点击加入课程系列
 */
@Entity
@Table(name="tb_course_series_join")
public class CourseSeriesJoin extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7388278462350897354L;
	
	/**
	 * 家长id
	 */
	private String userId;
	
	/**
	 * 会员卡id
	 */
	private String vipId;
	/**
	 * 图书馆
	 */
	private String libId;
	/**
	 * 课程id
	 */
	private String courseDetailsId;
	/**
	 * 课程系列id
	 */
	private String courseSeriesId;
	/**
	 * 上课时间
	 */
	private Date openTime;
	/**
	 * 上课时长（关闭浏览器）
	 */
	private String duration;
	/**
   * 创建时间
   */
	private Date createTime;
	
	/**
	 * 老师上课时间
	 */
	private Date beginTime;
	
	/**
	 * 老师下课时间(能监控到的最后一个时间)
	 */
	private Date endTime;
	
	/**
	 * 状态 0-没上课-1已经上课 2-已反馈
	 */
	private Integer state;
	/**
	 * 排序
	 */
	private Integer num;
	
	
	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getVipId() {
		return vipId;
	}

	public void setVipId(String vipId) {
		this.vipId = vipId;
	}

	public String getLibId() {
		return libId;
	}

	public void setLibId(String libId) {
		this.libId = libId;
	}

	public String getCourseDetailsId() {
		return courseDetailsId;
	}

	public void setCourseDetailsId(String courseDetailsId) {
		this.courseDetailsId = courseDetailsId;
	}

	public String getCourseSeriesId() {
		return courseSeriesId;
	}

	public void setCourseSeriesId(String courseSeriesId) {
		this.courseSeriesId = courseSeriesId;
	}

	public Date getOpenTime() {
		return openTime;
	}

	public void setOpenTime(Date openTime) {
		this.openTime = openTime;
	}

	@Column(updatable = false)
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getDuration() {
		return duration;
	}

	public void setDuration(String duration) {
		this.duration = duration;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	
}
