/**
 *
 */
package kr.co.kihyun.beans.entity;

import javax.jdo.annotations.*;

/**
 * @author bhs
 *
 */
@PersistenceCapable(identityType = IdentityType.APPLICATION)
@Inheritance(strategy = InheritanceStrategy.SUBCLASS_TABLE)
public abstract class LongEntity extends MoumiEntity<Long> {
	/**
	 *
	 */
	private static final long serialVersionUID = -2728973604498264543L;

	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.NATIVE)
	private Long id;

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}

}
