package com.palmnest.model.estateserve;

import javax.persistence.*;
import java.io.Serializable;

@Entity
@Table(name = "tr_vir_service_child")
public class VirServiceChild implements Serializable {

	private static final long serialVersionUID = 2640885322476044681L;

	private Long    id;
	private Long    virPermId;
	private Integer serviceChildId;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "id", unique = true, nullable = false)
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "serviceChildId")
	public Integer getServiceChildId() {
		return serviceChildId;
	}

	public void setServiceChildId(Integer serviceChildId) {
		this.serviceChildId = serviceChildId;
	}

	@Column(name = "virPermId")
	public Long getVirPermId() {
		return virPermId;
	}

	public void setVirPermId(Long virPermId) {
		this.virPermId = virPermId;
	}
}