package com.hc.business.model;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;


@Data
@ApiModel(value = "直播子表")
public class LiveClass implements Serializable {

    private static final long serialVersionUID = 999252727087596417L;


    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @ApiModelProperty(value = "ID")
    private Integer liveClassId;

    /**
     * 直播间Id
     */
    @ApiModelProperty(value = "直播间Id", required = true)
    private Integer liveId;

    /**
     * 班级ID
     */
    @ApiModelProperty(value = "班级ID", required = true)
    private Integer classId;

}
