package com.njcn.pojo.configuration;

import java.io.Serializable;

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

/**
 * 省份信息表
 * */
@Table(name="PQ_PROVINCE")
public class Province implements Serializable{

	@Id
	@Column(name="PROVINCE_INDEX")
	private Long provinceIndex;
	
	@Column(name="NAME")
	private String name;
	
	@Column(name="PROJECT_INDEX")
	private Long projectIndex;

	public Long getProvinceIndex() {
		return provinceIndex;
	}

	public void setProvinceIndex(Long provinceIndex) {
		this.provinceIndex = provinceIndex;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getProjectIndex() {
		return projectIndex;
	}

	public void setProjectIndex(Long projectIndex) {
		this.projectIndex = projectIndex;
	}

	@Override
	public String toString() {
		return "Province [provinceIndex=" + provinceIndex + ", name=" + name + ", projectIndex=" + projectIndex +"]";
	}
	
}