123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206 |
- package com.yihu.ehr.model.entity.standard;
- /**
- * 标准元数据
- *
- * @created Created by Air on 2015/6/3.
- */
- public class StdMetaDataT {
- private int id;
- private String name;
- private String code;
- private int datasetId;
- private String deCode;
- private String definition;
- private String type;
- private String format;
- private String dictCode;
- private String version;
- private Integer valid;
- private Integer nullable;
- private String innerVersion;
- private Integer dictValueType;
- private String columnName;
- private String columnType;
- private Integer primaryKey;
- public int getId() {
- return id;
- }
- public void setId(int id) {
- this.id = id;
- }
- public String getName() {
- return name;
- }
- public void setName(String name) {
- this.name = name;
- }
- public String getCode() {
- return code;
- }
- public void setCode(String code) {
- this.code = code;
- }
- public int getDatasetId() {
- return datasetId;
- }
- public void setDatasetId(int datasetId) {
- this.datasetId = datasetId;
- }
- public String getDeCode() {
- return deCode;
- }
- public void setDeCode(String innerCode) {
- this.deCode = innerCode;
- }
- public String getDefinition() {
- return definition;
- }
- public void setDefinition(String definition) {
- this.definition = definition;
- }
- public String getType() {
- return type;
- }
- public void setType(String type) {
- this.type = type;
- }
- public String getFormat() {
- return format;
- }
- public void setFormat(String format) {
- this.format = format;
- }
- public String getDictCode() {
- return dictCode;
- }
- public void setDictCode(String dictId) {
- this.dictCode = dictId;
- }
- public String getVersion() {
- return version;
- }
- public void setVersion(String version) {
- this.version = version;
- }
- public Integer getNullable() {
- return nullable;
- }
- public void setNullable(Integer nullable) {
- this.nullable = nullable;
- }
- public Integer getValid() {
- return valid;
- }
- public void setValid(Integer valid) {
- this.valid = valid;
- }
- public String getInnerVersion() {
- return innerVersion;
- }
- public void setInnerVersion(String innerVersion) {
- this.innerVersion = innerVersion;
- }
- public Integer getDictValueType() {
- return dictValueType;
- }
- public void setDictValueType(Integer dictValueType) {
- this.dictValueType = dictValueType;
- }
- public String getColumnName() {
- return columnName;
- }
- public void setColumnName(String column) {
- this.columnName = column;
- }
- public String getColumnType() {
- return columnType;
- }
- public void setColumnType(String columnType) {
- this.columnType = columnType;
- }
- public Integer getPrimaryKey() {
- return primaryKey;
- }
- public void setPrimaryKey(Integer primaryKey) {
- this.primaryKey = primaryKey;
- }
- @Override
- public boolean equals(Object o) {
- if (this == o) return true;
- if (o == null || getClass() != o.getClass()) return false;
- StdMetaDataT that = (StdMetaDataT) o;
- if (id != that.id) return false;
- if (name != null ? !name.equals(that.name) : that.name != null) return false;
- if (code != null ? !code.equals(that.code) : that.code != null) return false;
- if (deCode != null ? !deCode.equals(that.deCode) : that.deCode != null) return false;
- if (definition != null ? !definition.equals(that.definition) : that.definition != null) return false;
- if (type != null ? !type.equals(that.type) : that.type != null) return false;
- if (format != null ? !format.equals(that.format) : that.format != null) return false;
- if (dictCode != null ? !dictCode.equals(that.dictCode) : that.dictCode != null) return false;
- if (version != null ? !version.equals(that.version) : that.version != null) return false;
- if (valid != null ? !valid.equals(that.valid) : that.valid != null) return false;
- if (dictValueType != null ? !dictValueType.equals(that.dictValueType) : that.dictValueType != null)
- return false;
- if (nullable != null ? !nullable.equals(that.nullable) : that.nullable != 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 + (name != null ? name.hashCode() : 0);
- result = 31 * result + (code != null ? code.hashCode() : 0);
- result = 31 * result + (deCode != null ? deCode.hashCode() : 0);
- result = 31 * result + (definition != null ? definition.hashCode() : 0);
- result = 31 * result + (type != null ? type.hashCode() : 0);
- result = 31 * result + (format != null ? format.hashCode() : 0);
- result = 31 * result + (dictCode != null ? dictCode.hashCode() : 0);
- result = 31 * result + (version != null ? version.hashCode() : 0);
- result = 31 * result + (valid != null ? valid.hashCode() : 0);
- result = 31 * result + (nullable != null ? nullable.hashCode() : 0);
- result = 31 * result + (dictValueType != null ? dictValueType.hashCode() : 0);
- result = 31 * result + (innerVersion != null ? innerVersion.hashCode() : 0);
- return result;
- }
- }
|