package com.yc.education.model;

import javax.persistence.*;

public class Product {
    /**
     * 商品表
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

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

    /**
     * 分类id
     */
    @Column(name = "classifyId")
    private String classifyid;

    /**
     * 图片
     */
    private String img;

    /**
     * 更新时间
     */
    @Column(name = "updateDate")
    private String updatedate;

    private Integer num1;

    private Integer num2;

    private Integer num3;

    private Integer num4;

    private Integer num5;

    private Integer num6;

    private Integer num7;

    private Integer num8;

    private Integer num9;

    private Integer num10;

    /**
     * 获取商品表
     *
     * @return id - 商品表
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置商品表
     *
     * @param 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;
    }

    /**
     * 获取分类id
     *
     * @return classifyId - 分类id
     */
    public String getClassifyid() {
        return classifyid;
    }

    /**
     * 设置分类id
     *
     * @param classifyid 分类id
     */
    public void setClassifyid(String classifyid) {
        this.classifyid = classifyid;
    }

    /**
     * 获取图片
     *
     * @return img - 图片
     */
    public String getImg() {
        return img;
    }

    /**
     * 设置图片
     *
     * @param img 图片
     */
    public void setImg(String img) {
        this.img = img;
    }

    /**
     * 获取更新时间
     *
     * @return updateDate - 更新时间
     */
    public String getUpdatedate() {
        return updatedate;
    }

    /**
     * 设置更新时间
     *
     * @param updatedate 更新时间
     */
    public void setUpdatedate(String updatedate) {
        this.updatedate = updatedate;
    }

    /**
     * @return num1
     */
    public Integer getNum1() {
        return num1;
    }

    /**
     * @param num1
     */
    public void setNum1(Integer num1) {
        this.num1 = num1;
    }

    /**
     * @return num2
     */
    public Integer getNum2() {
        return num2;
    }

    /**
     * @param num2
     */
    public void setNum2(Integer num2) {
        this.num2 = num2;
    }

    /**
     * @return num3
     */
    public Integer getNum3() {
        return num3;
    }

    /**
     * @param num3
     */
    public void setNum3(Integer num3) {
        this.num3 = num3;
    }

    /**
     * @return num4
     */
    public Integer getNum4() {
        return num4;
    }

    /**
     * @param num4
     */
    public void setNum4(Integer num4) {
        this.num4 = num4;
    }

    /**
     * @return num5
     */
    public Integer getNum5() {
        return num5;
    }

    /**
     * @param num5
     */
    public void setNum5(Integer num5) {
        this.num5 = num5;
    }

    /**
     * @return num6
     */
    public Integer getNum6() {
        return num6;
    }

    /**
     * @param num6
     */
    public void setNum6(Integer num6) {
        this.num6 = num6;
    }

    /**
     * @return num7
     */
    public Integer getNum7() {
        return num7;
    }

    /**
     * @param num7
     */
    public void setNum7(Integer num7) {
        this.num7 = num7;
    }

    /**
     * @return num8
     */
    public Integer getNum8() {
        return num8;
    }

    /**
     * @param num8
     */
    public void setNum8(Integer num8) {
        this.num8 = num8;
    }

    /**
     * @return num9
     */
    public Integer getNum9() {
        return num9;
    }

    /**
     * @param num9
     */
    public void setNum9(Integer num9) {
        this.num9 = num9;
    }

    /**
     * @return num10
     */
    public Integer getNum10() {
        return num10;
    }

    /**
     * @param num10
     */
    public void setNum10(Integer num10) {
        this.num10 = num10;
    }
}