package com.palmnest.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author longmeizhen
 * 水电表信息实体类
 */
@Entity
@Table(name = "tb_watermeter")
public class WatermeterInfo implements Serializable {

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "id", unique = true, nullable = false)
	private Integer id;
	private int     floorId;
	private int     roomId;
	private String  wateReading;
	private String  wateImageUrl;
	private String  materImageUrl;
	private String  materReading;
	private int     sourseId;//来源ID
	private int     enterType;//来源类型(1企业入驻2企业迁出)
	private int     creator;
	private Date    createTime;
	private String  isEnabled;


	public Integer getId() {
		return id;
	}

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

	public int getFloorId() {
		return floorId;
	}

	public void setFloorId(int floorId) {
		this.floorId = floorId;
	}

	public int getRoomId() {
		return roomId;
	}

	public void setRoomId(int roomId) {
		this.roomId = roomId;
	}

	public int getSourseId() {
		return sourseId;
	}

	public void setSourseId(int sourseId) {
		this.sourseId = sourseId;
	}

	public int getEnterType() {
		return enterType;
	}

	public void setEnterType(int enterType) {
		this.enterType = enterType;
	}

	public int getCreator() {
		return creator;
	}

	public void setCreator(int creator) {
		this.creator = creator;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getIsEnabled() {
		return isEnabled;
	}

	public void setIsEnabled(String isEnabled) {
		this.isEnabled = isEnabled;
	}

	public String getWateReading() {
		return wateReading;
	}

	public void setWateReading(String wateReading) {
		this.wateReading = wateReading;
	}

	public String getWateImageUrl() {
		return wateImageUrl;
	}

	public void setWateImageUrl(String wateImageUrl) {
		this.wateImageUrl = wateImageUrl;
	}

	public String getMaterImageUrl() {
		return materImageUrl;
	}

	public void setMaterImageUrl(String materImageUrl) {
		this.materImageUrl = materImageUrl;
	}

	public String getMaterReading() {
		return materReading;
	}

	public void setMaterReading(String materReading) {
		this.materReading = materReading;
	}


}
