package com.yeejoin.amos.fas.dao.entity;

import org.hibernate.annotations.Proxy;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

/**
 * 数据字典
 * @author gaodongdong
 *
 */
@Entity
@Table(name="f_dict")
@NamedQuery(name="Dict.findAll", query="SELECT d FROM Dict d")
@Proxy(lazy = false)
public class Dict {
	
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name = "ID",nullable=false,unique=true)
	private long id;
	@Column(name="dict_name")
	private String dictName;
	@Column(name="dict_code")
	private String dictCode;
	@Column(name="dict_value")
	private String dictValue;
	@Column(name="parent_id")
	private String parentId;
	@Column(name="is_delete")
	private byte isDelete;
	@Column(name="remark")
	private String remark;
	@Column(name="dict_order")
	private long dictOrder;
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getDictName() {
		return dictName;
	}
	public void setDictName(String dictName) {
		this.dictName = dictName;
	}
	public String getDictCode() {
		return dictCode;
	}
	public void setDictCode(String dictCode) {
		this.dictCode = dictCode;
	}
	public String getDictValue() {
		return dictValue;
	}
	public void setDictValue(String dictValue) {
		this.dictValue = dictValue;
	}
	public String getParentId() {
		return parentId;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	public byte getIsDelete() {
		return isDelete;
	}
	public void setIsDelete(byte isDelete) {
		this.isDelete = isDelete;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public long getDictOrder() {
		return dictOrder;
	}
	public void setDictOrder(long dictOrder) {
		this.dictOrder = dictOrder;
	}
	
	
}
