package com.yc.education.model;

import javax.persistence.*;

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

    /**
     * 标题
     */
    private String title;

    /**
     * 下载路径
     */
    private String dpath;

    private int sort;
    private String releasetime;

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

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

    /**
     * 获取标题
     *
     * @return title - 标题
     */
    public String getTitle() {
        return title;
    }

    /**
     * 设置标题
     *
     * @param title 标题
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 获取下载路径
     *
     * @return dpath - 下载路径
     */
    public String getDpath() {
        return dpath;
    }

    /**
     * 设置下载路径
     *
     * @param dpath 下载路径
     */
    public void setDpath(String dpath) {
        this.dpath = dpath;
    }

    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;
    }
}