Organization.java.svn-base 686 Bytes
Newer Older
Kim Gyeongeun committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
package jp.agentec.sinaburocast.entity;

import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;

@Entity
@Table(name="m_organization")
public class Organization extends AbstractEntity {

	/**
	 *
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name = "organization_id")
	public Integer organizationId;

	@Column(name = "organization_no")
	public Integer organizationNo;

	@Column(name = "organization_name")
	public String organizationName;

	@OneToMany(mappedBy = "organization")
	public List<PointDonation> pointDonationList;


}