package com.sunzee.model.domain;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;

/**
 * @author whw
 * @time 2019/4/8
 * @Description 错误实体类
 */
@Entity
public class CleaningBean {
    @Id(autoincrement = true)
    private Long id;
    @Property(nameInDb = "TIME")
    private long time;
    @Property(nameInDb = "CLEANCOUNT")
    private String cleanCount;
    @Property(nameInDb = "INCOUNT")
    private String inCount;
    @Property(nameInDb = "OUTCOUNT")
    private String outCount;

    @Generated(hash = 1406434038)
    public CleaningBean(Long id, long time, String cleanCount, String inCount, String outCount) {
        this.id = id;
        this.time = time;
        this.cleanCount = cleanCount;
        this.inCount = inCount;
        this.outCount = outCount;
    }
    @Generated(hash = 1917309366)
    public CleaningBean() {
    }

    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public long getTime() {
        return this.time;
    }
    public void setTime(long time) {
        this.time = time;
    }

    public String getCleanCount() {
        return cleanCount;
    }

    public void setCleanCount(String cleanCount) {
        this.cleanCount = cleanCount;
    }

    public String getInCount() {
        return inCount;
    }

    public void setInCount(String inCount) {
        this.inCount = inCount;
    }

    public String getOutCount() {
        return outCount;
    }

    public void setOutCount(String outCount) {
        this.outCount = outCount;
    }

    @Override
    public String toString() {
        return "CleaningBean{" +
                "id=" + id +
                ", time=" + time +
                ", cleanCount='" + cleanCount + '\'' +
                ", inCount='" + inCount + '\'' +
                ", outCount='" + outCount + '\'' +
                '}';
    }
}
