/**
 * Company Name : 中贸促信息技术有限责任公司
 * Project Name:sfzxWebsite
 * File Name:VisaAgency.java
 * Package Name:ccpit.business.visaAgencyManage
 * Date:2017年4月17日下午2:20:37
 * Copyright (c) 2017, dingwei@ccpit.org All Rights Reserved.
 *
*/

package ccpit.business.visaAgencyManage;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToOne;
import javax.persistence.Table;

import ccpit.base.user.User;
import org.hibernate.annotations.Where;

/**
 * ClassName:VisaAgency <br/>
 * Function: TODO 签证机构信息实体类. <br/>
 * Reason:	 TODO ADD REASON. <br/>
 * Date:     2017年4月17日 下午2:20:37 <br/>
 * @author   dingwei
 * @version  
 * @since    JDK 1.8.0
 * @see 	 
 */
@Entity
@Where(clause = "deleted='false'")
@Table(name = "sfzx_VisaAgency")
public class VisaAgency {

	private long id;
	/**
	 * 省
	 */
	private String province;
	/**
	 * 市
	 */
	private String city;
	/**
	 * 联系地址
	 */
	private String address;
	/**
	 * 网址
	 */
	private String websiteUrl;
	/**
	 * 签证点名称
	 */
	private String visaAgencyName;
	/**
	 * 联系方式
	 */
	private String phone;
	/**
	 * 联系人
	 */
	private String contactPerson;
	
	/**
	 * 创建人
	 */
	public User creator;
	/**
	 * 创建时间
	 */
	public Date createTime;
	/**
	 * 修改人
	 */
	public User modifyBy;
	/**
	 * 修改时间
	 */
	public Date modifyTime;
	/**
	 * 逻辑删除
	 */
	public boolean deleted;
	
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getWebsiteUrl() {
		return websiteUrl;
	}
	public void setWebsiteUrl(String websiteUrl) {
		this.websiteUrl = websiteUrl;
	}
	public String getVisaAgencyName() {
		return visaAgencyName;
	}
	public void setVisaAgencyName(String visaAgencyName) {
		this.visaAgencyName = visaAgencyName;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getContactPerson() {
		return contactPerson;
	}
	public void setContactPerson(String contactPerson) {
		this.contactPerson = contactPerson;
	}
	@OneToOne
	public User getCreator() {
		return creator;
	}
	public void setCreator(User creator) {
		this.creator = creator;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	@OneToOne
	public User getModifyBy() {
		return modifyBy;
	}
	public void setModifyBy(User modifyBy) {
		this.modifyBy = modifyBy;
	}
	public Date getModifyTime() {
		return modifyTime;
	}
	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}
	public boolean isDeleted() {
		return deleted;
	}
	public void setDeleted(boolean deleted) {
		this.deleted = deleted;
	}
	
	
}

