package cn.com.liandisys.ycjt.ggcx.common.model;

import java.io.Serializable; 


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


@Entity 
@Table(name = "ksl_datadic") 
public class DataDic implements Serializable { 
	private static final long serialVersionUID = -1L;
    @Id 
    @GeneratedValue(strategy = GenerationType.IDENTITY) 
    @Column(name="datadic_id")
    private String id; 
    
    @Column(name="datadic_parent")
    private String parent; 
    
    @Column(name="datadic_type")
    private String type;
    
    @Column(name="datadic_name")
    private String name; 
    
    @Column(name="datadic_value")
    private String value; 
    
    @Column(name="datadic_status")
    private String status; 
    
    @Column(name="datadic_remark")
    private String remark; 
    
    

	public String getId() {
		return id;
	}



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



	public String getParent() {
		return parent;
	}



	public void setParent(String parent) {
		this.parent = parent;
	}



	public String getType() {
		return type;
	}



	public void setType(String type) {
		this.type = type;
	}



	public String getName() {
		return name;
	}



	public void setName(String name) {
		this.name = name;
	}



	public String getValue() {
		return value;
	}



	public void setValue(String value) {
		this.value = value;
	}



	public String getStatus() {
		return status;
	}



	public void setStatus(String status) {
		this.status = status;
	}



	public String getRemark() {
		return remark;
	}



	public void setRemark(String remark) {
		this.remark = remark;
	}



	@Override 
    public boolean equals(Object o) { 
        if (this == o) 
            return true; 
        if (o == null || getClass() != o.getClass()) 
            return false; 

        DataDic dataDic = (DataDic) o; 

        if (dataDic.id.equals(this.id)) 
            return true; 
        return false; 
    } 
} 

