package com.servinglynk.hmis.warehouse.model.base;

import java.util.ArrayList;
import java.util.List;
import java.util.UUID;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.OneToMany;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity (name = "hmis_project_group")
@Table(name = "hmis_project_group",schema="base")
public class ProjectGroupEntity  {


	private UUID id;
    

	private String projectGroupName;


    private String projectGroupDesc;
    
    private String bucketName;
    private String projectGroupCode;
    
    private boolean skipuseridentifers;
    private boolean purgeData;
    
    List<ProjectProjectGroupMapEntity> projectGroupMapEntities = new ArrayList<ProjectProjectGroupMapEntity>();

   
    @javax.persistence.Id
    @GenericGenerator(name = "uuid-gen", strategy = "uuid2")
    @GeneratedValue(generator = "uuid-gen")
    @org.hibernate.annotations.Type(type="pg-uuid")
	@Column(name = "id")
    public UUID getId() {
		return id;
	}
	public void setId(UUID id) {
		this.id = id;
	}
	
	@Column(name="bucket_name")
    public String getBucketName() {
		return bucketName;
	}
	public void setBucketName(String bucketName) {
		this.bucketName = bucketName;
	}
	@Column(name="project_group_name")
	public String getProjectGroupName() {
		return projectGroupName;
	}
	public void setProjectGroupName(String projectGroupName) {
		this.projectGroupName = projectGroupName;
	}
	
    @Column(name="project_group_desc")
	public String getProjectGroupDesc() {
		return projectGroupDesc;
	}
	public void setProjectGroupDesc(String projectGroupDesc) {
		this.projectGroupDesc = projectGroupDesc;
	}
	
    @Column(name="project_group_code")
	public String getProjectGroupCode() {
		return projectGroupCode;
	}
	public void setProjectGroupCode(String projectGroupCode) {
		this.projectGroupCode = projectGroupCode;
	}
	@Column(name="skip_user_identifers")
	public boolean isSkipuseridentifers() {
		return skipuseridentifers;
	}
	public void setSkipuseridentifers(boolean skipuseridentifers) {
		this.skipuseridentifers = skipuseridentifers;
	}
	@Column(name="purge_data")
	public boolean isPurgeData() {
		return purgeData;
	}
	public void setPurgeData(boolean purgeData) {
		this.purgeData = purgeData;
	}
	@OneToMany(fetch=FetchType.LAZY, mappedBy="projectGroupEntity")
	public List<ProjectProjectGroupMapEntity> getProjectGroupMapEntities() {
		return projectGroupMapEntities;
	}
	public void setProjectGroupMapEntities(List<ProjectProjectGroupMapEntity> projectGroupMapEntities) {
		this.projectGroupMapEntities = projectGroupMapEntities;
	}
}
@@ -728,39 +728,8 @@
 rs;%0A
-    private boolean purgeData;%0A
     
@@ -2193,171 +2193,8 @@
 %0A%09%7D%0A
-%09@Column(name=%22purge_data%22)%0A%09public boolean isPurgeData() %7B%0A%09%09return purgeData;%0A%09%7D%0A%09public void setPurgeData(boolean purgeData) %7B%0A%09%09this.purgeData = purgeData;%0A%09%7D%0A
 %09@On

Revert "Make a Pojo change for the new colum purge_data"