package com.yihu.ehr.model.entity.standard; /** * 标准字典项 * * @created Created by Air on 2015/6/3. */ public class StdDictItemT { private int id; private String value; private String code; private Integer valid; private String version; private Integer dictId; private String innerVersion; public int getId() { return id; } public void setId(int id) { this.id = id; } public String getValue() { return value; } public void setValue(String value) { this.value = value; } public String getCode() { return code; } public void setCode(String code) { this.code = code; } public Integer getValid() { return valid; } public void setValid(Integer valid) { this.valid = valid; } public String getVersion() { return version; } public void setVersion(String version) { this.version = version; } public String getInnerVersion() { return innerVersion; } public void setInnerVersion(String innerVersion) { this.innerVersion = innerVersion; } public Integer getDictId() { return dictId; } public void setDictId(Integer dictId) { this.dictId = dictId; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; StdDictItemT that = (StdDictItemT) o; if (id != that.id) return false; if (value != null ? !value.equals(that.value) : that.value != null) return false; if (code != null ? !code.equals(that.code) : that.code != null) return false; if (valid != null ? !valid.equals(that.valid) : that.valid != null) return false; if (version != null ? !version.equals(that.version) : that.version != null) return false; if (innerVersion != null ? !innerVersion.equals(that.innerVersion) : that.innerVersion != null) return false; return true; } @Override public int hashCode() { int result = id; result = 31 * result + (value != null ? value.hashCode() : 0); result = 31 * result + (code != null ? code.hashCode() : 0); result = 31 * result + (valid != null ? valid.hashCode() : 0); result = 31 * result + (version != null ? version.hashCode() : 0); result = 31 * result + (innerVersion != null ? innerVersion.hashCode() : 0); return result; } }