package com.njcn.pojo.configuration;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 终端详细信息表
 */
@Table(name = "PQ_DEVICEDETAIL")
public class DeviceDetailInfo implements Serializable{
	@Id
	@Column(name = "DEV_INDEX")
	private Long devIndex;

	@Column(name = "Manufacturer")
	private String manufacturer;

	@Column(name = "CheckFlag")
	private Long checkFlag;

	@Column(name="ThisTimeCheck")
	private Date ThisTimeCheck;

	@Column(name="NextTimeCheck")
	private Date NextTimeCheck;

	@Column(name="DATAPLAN")
	private Long dataplan;

	@Column(name="NEWTRAFFIC")
	private Long newtraffic;


	@Column(name = "electroplate")
	private Integer electroplate = 0;

	@Column(name = "ONTIME")
	private Integer ontime;
	@Column(name = "contract")
	private String contract;

	@Column(name = "DEV_CATENA")
	private String devCatnea;

	@Column(name = "SIM")
	private String sim;

	@Column(name = "DEV_NO")
	private String devNo;

	@Column(name = "DEV_LOCATION")
	private String devLocation;

	@Column(name = "IS_ALARM")
	private Integer isAlarm;

	public String getDevNo() {
		return devNo;
	}

	public void setDevNo(String devNo) {
		this.devNo = devNo;
	}

	public String getDevLocation() {
		return devLocation;
	}

	public void setDevLocation(String devLocation) {
		this.devLocation = devLocation;
	}

	public String getDevCatnea() {
		return devCatnea;
	}

	public void setDevCatnea(String devCatnea) {
		this.devCatnea = devCatnea;
	}

	public String getSim() {
		return sim;
	}

	public void setSim(String sim) {
		this.sim = sim;
	}

	public String getContract() {
		return contract;
	}

	public void setContract(String contract) {
		this.contract = contract;
	}

	public Integer getOntime() {
		return ontime;
	}

	public void setOntime(Integer ontime) {
		this.ontime = ontime;
	}

	public Long getDevIndex() {
		return devIndex;
	}

	public void setDevIndex(Long devIndex) {
		this.devIndex = devIndex;
	}

	public String getManufacturer() {
		return manufacturer;
	}

	public void setManufacturer(String manufacturer) {
		this.manufacturer = manufacturer;
	}

	public Long getCheckFlag() {
		return checkFlag;
	}

	public void setCheckFlag(Long checkFlag) {
		this.checkFlag = checkFlag;
	}

	public Date getThisTimeCheck() {
		return ThisTimeCheck;
	}

	public void setThisTimeCheck(Date thisTimeCheck) {
		ThisTimeCheck = thisTimeCheck;
	}

	public Date getNextTimeCheck() {
		return NextTimeCheck;
	}

	public void setNextTimeCheck(Date nextTimeCheck) {
		NextTimeCheck = nextTimeCheck;
	}

	public Long getDataplan() {
		return dataplan;
	}

	public Long getNewtraffic() {
		return newtraffic;
	}

	public void setDataplan(Long dataplan) {
		this.dataplan = dataplan;
	}

	public void setNewtraffic(Long newtraffic) {
		this.newtraffic = newtraffic;
	}

	public Integer getElectroplate() {
		return electroplate;
	}

	public void setElectroplate(Integer electroplate) {
		this.electroplate = electroplate;
	}

	public Integer getIsAlarm() {
		return isAlarm;
	}

	public void setIsAlarm(Integer isAlarm) {
		this.isAlarm = isAlarm;
	}

	@Override
	public String toString() {
		return "DeviceDetailInfo{" +
				"devIndex=" + devIndex +
				", manufacturer='" + manufacturer + '\'' +
				", checkFlag=" + checkFlag +
				", ThisTimeCheck=" + ThisTimeCheck +
				", NextTimeCheck=" + NextTimeCheck +
				", dataplan=" + dataplan +
				", newtraffic=" + newtraffic +
				", electroplate=" + electroplate +
				", ontime=" + ontime +
				", contract='" + contract + '\'' +
				", devCatnea='" + devCatnea + '\'' +
				", sim='" + sim + '\'' +
				", devNo='" + devNo + '\'' +
				", devLocation='" + devLocation + '\'' +
				", isAlarm=" + isAlarm +
				'}';
	}
}
