package com.jasamedika.medifirst2000.vo;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

import javax.persistence.*;
import java.util.Date;
import org.hibernate.validator.constraints.NotEmpty;

import com.jasamedika.medifirst2000.base.vo.BaseMasterVO;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.internal.util.logging.Messages;

import com.fasterxml.jackson.annotation.JsonManagedReference;
import com.jasamedika.medifirst2000.base.vo.BaseMasterVO;
import com.jasamedika.medifirst2000.helper.Caption;

/**
 *  class JenisAccount
 * 
 * @author Generator
 */
//@Entity
//@Table(name = "JenisAccount_M")
public class JenisAccountVO extends BaseMasterVO {
	@Caption(value="Jenis Account")
	private String jenisAccount;

	public void setJenisAccount(String jenisAccount) {
		this.jenisAccount = jenisAccount;
	}

	@Column(name = "JenisAccount", nullable = false , length = 20)
	public String getJenisAccount(){
		return this.jenisAccount;
	}

	@Caption(value="Kode Jenis Account")
	private Byte kdJenisAccount;

	public void setKdJenisAccount(Byte kdJenisAccount) {
		this.kdJenisAccount = kdJenisAccount;
	}

	@Column(name = "KdJenisAccount", nullable = false )
	public Byte getKdJenisAccount(){
		return this.kdJenisAccount;
	}

	@Caption(value="QJenis Account")
	private Byte qJenisAccount;

	public void setqJenisAccount(Byte qJenisAccount) {
		this.qJenisAccount = qJenisAccount;
	}

	@Column(name = "QJenisAccount", nullable = false )
	public Byte getqJenisAccount(){
		return this.qJenisAccount;
	}
	
	/*//
	@OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL, mappedBy = "kdjenisaccount")
	private Set<ChartOfAccount> ChartOfAccountSet = new HashSet<ChartOfAccount>();

	public Set<ChartOfAccount> getChartOfAccountSet() {
		return ChartOfAccountSet;
	}

	public void setChartOfAccountSet(Set<ChartOfAccount> chartOfAccountSet) {
		ChartOfAccountSet = chartOfAccountSet;
	}
	
	//
	@OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL, mappedBy = "kdjenisaccount")
	private Set<IndikatorAccount> IndikatorAccountSet = new HashSet<IndikatorAccount>();

	public Set<IndikatorAccount> getIndikatorAccountSet() {
		return IndikatorAccountSet;
	}

	public void setIndikatorAccountSet(Set<IndikatorAccount> indikatorAccountSet) {
		IndikatorAccountSet = indikatorAccountSet;
	}

	//
	@OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL, mappedBy = "kdjenisaccount")
	private Set<KategoryAccount> KategoryAccountSet = new HashSet<KategoryAccount>();

	public Set<KategoryAccount> getKategoryAccountSet() {
		return KategoryAccountSet;
	}

	public void setKategoryAccountSet(Set<KategoryAccount> kategoryAccountSet) {
		KategoryAccountSet = kategoryAccountSet;
	}*/

}

