package com.yc.education.model;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 成功案列实体类
 * @author Hickey
 * @create 2019-07-25 10:04
 */
@Table(name="successcase")
public class SuccessCase {

    @Id
    @GeneratedValue (strategy = GenerationType.IDENTITY)

    private Integer id;//案列主键id

    private Integer typeid;//案列类别外键id

    private String  casename;//案例名称

    private  String caseinfo;//案例简介

    private String casedetail;//案例详情

    private String casestyle;//案列风格

    private String area;//案例面积

    private String areaunit;//面积单位

    private String caseimage;//案列图片

    private Integer state;//案列状态

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

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

    /**
     * 外键
     * @return
     */
    public Integer getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    /**
     * 名称
     * @return
     */
    public String getCasename() {
        return casename;
    }

    public void setCasename(String casename) {
        this.casename = casename;
    }

    /**
     * 简介
     * @return
     */
    public String getCaseinfo() {
        return caseinfo;
    }

    public void setCaseinfo(String caseinfo) {
        this.caseinfo = caseinfo;
    }

    /**
     * 详情
     * @return
     */
    public String getCasedetail() {
        return casedetail;
    }

    public void setCasedetail(String casedetail) {
        this.casedetail = casedetail;
    }

    /**
     * 风格
     * @return
     */
    public String getCasestyle() {
        return casestyle;
    }

    public void setCasestyle(String casestyle) {
        this.casestyle = casestyle;
    }

    /**
     * 面积
     * @return
     */
    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    /**
     * 单位
     * @return
     */
    public String getAreaunit() {
        return areaunit;
    }

    public void setAreaunit(String areaunit) {
        this.areaunit = areaunit;
    }

    /**
     *图片
     * @return
     */
    public String getCaseimage() {
        return caseimage;
    }

    public void setCaseimage(String caseimage) {
        this.caseimage = caseimage;
    }

    /**
     * 状态
     * @return
     */
    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}
