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;
import java.util.Calendar;

@Entity
@Table(name = "qkj_catalogs")
@Data
@ApiModel
public class QkjCatalogs implements Serializable {
    private static final long serialVersionUID = -1549091107153552300L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @ApiModelProperty(value = "主键id")
    private Long id;

    @ApiModelProperty(value = "父级类")
    private Integer fuId;

    @ApiModelProperty(value = "分类名称")
    private String name;

    @ApiModelProperty(value = "分类描述")
    private String description;

    @ApiModelProperty(value = "排序（升序）")
    private Integer sqn;

    @ApiModelProperty(value = "创建时间")
    private Calendar createTime;

    @ApiModelProperty(value = "数据量")
    private Integer dataCount;

    @ApiModelProperty(value = "有无子分类")
    private String hasChildren;

    @ApiModelProperty(value = "有无课程")
    private String hasCourse;

}
