package com.jasamedika.medifirst2000.vo;

import java.io.Serializable;
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 StrukturNoCM
 * 
 * @author Generator
 */
//@Entity
//@Table(name = "StrukturNoCM_M")
public class StrukturNoCMVO extends BaseMasterVO {
	@Caption(value="Automatic No C M Member")
	private Byte automaticNoCMMember;

	public void setAutomaticNoCMMember(Byte automaticNoCMMember) {
		this.automaticNoCMMember = automaticNoCMMember;
	}

	@Column(name = "AutomaticNoCMMember", nullable = false )
	public Byte getAutomaticNoCMMember(){
		return this.automaticNoCMMember;
	}

	@Caption(value="Automatic No C M Non Member")
	private Byte automaticNoCMNonMember;

	public void setAutomaticNoCMNonMember(Byte automaticNoCMNonMember) {
		this.automaticNoCMNonMember = automaticNoCMNonMember;
	}

	@Column(name = "AutomaticNoCMNonMember", nullable = false )
	public Byte getAutomaticNoCMNonMember(){
		return this.automaticNoCMNonMember;
	}

	@Caption(value="Format No C M Member")
	private String formatNoCMMember;

	public void setFormatNoCMMember(String formatNoCMMember) {
		this.formatNoCMMember = formatNoCMMember;
	}

	@Column(name = "FormatNoCMMember", nullable = false , length = 15)
	public String getFormatNoCMMember(){
		return this.formatNoCMMember;
	}

	@Caption(value="Format No C M Non Member")
	private String formatNoCMNonMember;

	public void setFormatNoCMNonMember(String formatNoCMNonMember) {
		this.formatNoCMNonMember = formatNoCMNonMember;
	}

	@Column(name = "FormatNoCMNonMember", nullable = false , length = 15)
	public String getFormatNoCMNonMember(){
		return this.formatNoCMNonMember;
	}

	@Caption(value="Is Default")
	private Byte isDefault;

	public void setIsDefault(Byte isDefault) {
		this.isDefault = isDefault;
	}

	@Column(name = "isDefault", nullable = true )
	public Byte getIsDefault(){
		return this.isDefault;
	}

	@ManyToOne
	@JoinColumn(name = "ObjectDepartemenFk")
	@Caption(value="Object Departemen")
	private DepartemenVO departemen;

	public void setDepartemen(DepartemenVO departemen) {
		this.departemen = departemen;
	}

	@Column(name = "KdDepartemen", nullable = true , length = 1)
	public DepartemenVO getDepartemen(){
		return this.departemen;
	}

	@Column(name = "ObjectDepartemenFk", insertable=false,updatable=false)
	private Integer departemenId;

	@Caption(value="Kode Struktur No C M")
	private Byte kdStrukturNoCM;

	public void setKdStrukturNoCM(Byte kdStrukturNoCM) {
		this.kdStrukturNoCM = kdStrukturNoCM;
	}

	@Column(name = "KdStrukturNoCM", nullable = false )
	public Byte getKdStrukturNoCM(){
		return this.kdStrukturNoCM;
	}

	@Caption(value="No Urut Akhir Member")
	private String noUrutAkhirMember;

	public void setNoUrutAkhirMember(String noUrutAkhirMember) {
		this.noUrutAkhirMember = noUrutAkhirMember;
	}

	@Column(name = "NoUrutAkhirMember", nullable = false , length = 15)
	public String getNoUrutAkhirMember(){
		return this.noUrutAkhirMember;
	}

	@Caption(value="No Urut Akhir Non Member")
	private String noUrutAkhirNonMember;

	public void setNoUrutAkhirNonMember(String noUrutAkhirNonMember) {
		this.noUrutAkhirNonMember = noUrutAkhirNonMember;
	}

	@Column(name = "NoUrutAkhirNonMember", nullable = false , length = 15)
	public String getNoUrutAkhirNonMember(){
		return this.noUrutAkhirNonMember;
	}

	@Caption(value="No Urut Awal Member")
	private String noUrutAwalMember;

	public void setNoUrutAwalMember(String noUrutAwalMember) {
		this.noUrutAwalMember = noUrutAwalMember;
	}

	@Column(name = "NoUrutAwalMember", nullable = false , length = 15)
	public String getNoUrutAwalMember(){
		return this.noUrutAwalMember;
	}

	@Caption(value="No Urut Awal Non Member")
	private String noUrutAwalNonMember;

	public void setNoUrutAwalNonMember(String noUrutAwalNonMember) {
		this.noUrutAwalNonMember = noUrutAwalNonMember;
	}

	@Column(name = "NoUrutAwalNonMember", nullable = false , length = 15)
	public String getNoUrutAwalNonMember(){
		return this.noUrutAwalNonMember;
	}

	@Caption(value="Struktur No C M")
	private String strukturNoCM;

	public void setStrukturNoCM(String strukturNoCM) {
		this.strukturNoCM = strukturNoCM;
	}

	@Column(name = "StrukturNoCM", nullable = false , length = 50)
	public String getStrukturNoCM(){
		return this.strukturNoCM;
	}


}

