package org.well.well.domain;

import javax.persistence.*;
import java.io.Serializable;

@Entity
@Table(name = "base_device_type")
public class DeviceType implements Serializable {

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "ID")
	private Long id;
	/**
	 * 设备类型名称
	 */
	@Column(name ="TYPE_NAME")
	private String typeName;
	/**
	 * 类型描述
	 */
	@Column(name ="TYPE_DESCRIPTION")
	private String typeDescription;
	/**
	 * 是否有效
	 */
	@Column(name ="VALID")
	private String valid;
	/**
	 * 监控内容
	 */
	@Column(name ="WATCH_TYPE")
	private String watchType;

	public Long getId() {
		return id;
	}

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

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public String getTypeDescription() {
		return typeDescription;
	}

	public void setTypeDescription(String typeDescription) {
		this.typeDescription = typeDescription;
	}

	public String getValid() {
		return valid;
	}

	public void setValid(String valid) {
		this.valid = valid;
	}

	public String getWatchType() {
		return watchType;
	}

	public void setWatchType(String watchType) {
		this.watchType = watchType;
	}
}
