package com.enation.app.base.core.model;

import com.enation.framework.database.PrimaryKeyField;

/**
 * @author kingapex
 * @version 1.0
 * @created 11-十月-2009 23:26:27
 */
public class User {
	private Integer userId;
	private String name;
	private String code; // Lizf add，用于用户接入验证

	/**
	 * @return
	 */
	public String getCode() {
		return code;
	}

	/**
	 * @param code
	 */
	public void setCode(String code) {
		this.code = code;
	}

	public User() {

	}

	public void finalize() throws Throwable {

	}

	@PrimaryKeyField
	public Integer getUserId() {
		return userId;
	}

	public String getName() {
		return name;
	}

	/**
	 * 
	 * @param newVal
	 */
	public void setName(String newVal) {
		name = newVal;
	}

	/**
	 * 
	 * @param newVal
	 */
	public void setUserId(Integer newVal) {
		userId = newVal;
	}

}