package com.cirle.scientific.po;

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

import javax.persistence.*;
import java.io.Serializable;

@Entity
@Data
@Table(name="qkj_columnist_detail")
@ApiModel
public class QkjColumnistDetail implements Serializable {

	private static final long serialVersionUID = 7878091840047975790L;

	@Id
    @Column(name = "id")
    @ApiModelProperty(value = "ID", hidden = true)
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    @Column(name = "obj_type",nullable = false)
    @ApiModelProperty(value = "对象类型 1：精品课子课时 2：直播")
    private String objType;
    
    @Column(name = "obj_id",nullable = false)
    @ApiModelProperty(value = "类型对应的对象id")
    private Integer objId;
    
    @Column(name = "mem_card",nullable = false)
    @ApiModelProperty(value = "用户唯一识别")
    private String memCard;

}