package com.nms.server.bean;


/**
 * NodeTable entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class NodeModel implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1984053252904108229L;
	private Long nodeId;
	private String nodeIp;
	
	/* 节点类型 0服务器 1交换机 */
	private Long nodeType;
//	private String nodeName;
	
	/* 节点状态 0有效 1无效*/
	private Long nodeState;
	private Long systemId;
	private Long seqId;
	private Long groupId;
	
	
	private String nodeUserName;
	private String nodePassword;
	// Constructors

	/** default constructor */
	public NodeModel() {
	}
	
	public NodeModel(String nodeIp,Long nodeType) {
		this.nodeIp = nodeIp;
		this.nodeType = nodeType;
	}

	/** minimal constructor */
	public NodeModel(Long nodeId, Long nodeState,
			Long systemId) {
		this.nodeId = nodeId;
//		this.nodeName = nodeName;
		this.nodeState = nodeState;
		this.systemId = systemId;
		//this.nodeLatticeId=nodeLatticeId;
	}


	// Property accessors

	public Long getNodeId() {
		return this.nodeId;
	}

	public void setNodeId(Long nodeId) {
		this.nodeId = nodeId;
	}

	public Long getNodeState() {
		return this.nodeState;
	}

	public void setNodeState(Long nodeState) {
		this.nodeState = nodeState;
	}

	public Long getSystemId() {
		return this.systemId;
	}

	public void setSystemId(Long systemId) {
		this.systemId = systemId;
	}

	public String getNodeIp() {
		return nodeIp;
	}

	public void setNodeIp(String nodeIp) {
		this.nodeIp = nodeIp;
	}

	public Long getNodeType() {
		return nodeType;
	}

	public void setNodeType(Long nodeType) {
		this.nodeType = nodeType;
	}

	public Long getSeqId() {
		return seqId;
	}

	public void setSeqId(Long seqId) {
		this.seqId = seqId;
	}

	public Long getGroupId() {
		return groupId;
	}

	public void setGroupId(Long groupId) {
		this.groupId = groupId;
	}

	public String getNodeUserName() {
		return nodeUserName;
	}

	public void setNodeUserName(String nodeUserName) {
		this.nodeUserName = nodeUserName;
	}

	public String getNodePassword() {
		return nodePassword;
	}

	public void setNodePassword(String nodePassword) {
		this.nodePassword = nodePassword;
	}

	
}