BaseModel.java 740 Bytes
package com.viontech.fanxing.commons.base;

import java.io.Serializable;

/**
 * @author suman
 * model类的基类 所有的model都要继承自该类
 */
public abstract class BaseModel implements Serializable {
    private Long count;
    private Long id;
    private Integer hour;

    public BaseModel() {
        super();
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public Long getId() {
        return id;
    }

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

    public Integer getHour() {
        return hour;
    }

    public BaseModel setHour(Integer hour) {
        this.hour = hour;
        return this;
    }
}