package com.yc.education.model;

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

/**
 * 案列类别实体类
 * @author Hickey
 * @create 2019-07-25 10:04
 */
@Table(name="casetype")
public class CaseType {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)

    private  Integer id;//案列类别id 主键

    private  String typename;//类别名称

    private  String  typeimage;//类别图片

    private  String  typeinfo;//类别简介

    private  Integer  typeweight;//类别权重

    /**
     * 主键
     * @return
     */
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 名称
     * @return
     */
    public String getTypename() {
        return typename;
    }

    public void setTypename(String typename) {
        this.typename = typename;
    }

    /**
     * 图片
     * @return
     */
    public String getTypeimage() {
        return typeimage;
    }

    public void setTypeimage(String typeimage) {
        this.typeimage = typeimage;
    }

    /**
     * 简介
     * @return
     */
    public String getTypeinfo() {
        return typeinfo;
    }

    public void setTypeinfo(String typeinfo) {
        this.typeinfo = typeinfo;
    }

    /**
     * 权重
     * @return
     */
    public Integer getTypeweight() {
        return typeweight;
    }

    public void setTypeweight(Integer typeweight) {
        this.typeweight = typeweight;
    }
}
