package com.yc.education.model;

import javax.persistence.*;

public class Coom {
    /**
     * id
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    /**
     * 名称
     */
    private String name;

    /**
     * 适合人数
     */
    private Integer cid;

    /**
     * 描述
     */
    @Column(name = "describes")
    private String describe;

    /*
    * 封面图
    * */
    private  String surfaceplot;


    private int sort;
    private String releasetime;
    /**
     * 获取id
     *
     * @return id - id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置id
     *
     * @param id id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取名称
     *
     * @return name - 名称
     */
    public String getName() {
        return name;
    }

    /**
     * 设置名称
     *
     * @param name 名称
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取适合人数
     *
     * @return cid - 适合人数
     */
    public Integer getCid() {
        return cid;
    }

    /**
     * 设置适合人数
     *
     * @param cid 适合人数
     */
    public void setCid(Integer cid) {
        this.cid = cid;
    }

    /**
     * 获取描述
     *
     * @return describe - 描述
     */
    public String getDescribe() {
        return describe;
    }

    /**
     * 设置描述
     *
     * @param describe 描述
     */
    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public String getSurfaceplot() {
        return surfaceplot;
    }

    public void setSurfaceplot(String surfaceplot) {
        this.surfaceplot = surfaceplot;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public String getReleasetime() {
        return releasetime;
    }

    public void setReleasetime(String releasetime) {
        this.releasetime = releasetime;
    }
}