content: package com.alibaba.sreworks.warehouse.domain;
  
  import java.io.Serializable;
  import java.util.Date;
  
  public class SwEntityField implements Serializable {
      private Long id;
  
      private Date gmtCreate;
  
      private Date gmtModified;
  
      private Long entityId;
  
      private String field;
  
      private String alias;
  
      private String dim;
  
      private String type;
  
      private Boolean buildIn;
  
      private Boolean nullable;
  
      private String description;
  
      private static final long serialVersionUID = 1L;
  
      public Long getId() {
          return id;
      }
  
      public void setId(Long id) {
          this.id = id;
      }
  
      public Date getGmtCreate() {
          return gmtCreate;
      }
  
      public void setGmtCreate(Date gmtCreate) {
          this.gmtCreate = gmtCreate;
      }
  
      public Date getGmtModified() {
          return gmtModified;
      }
  
      public void setGmtModified(Date gmtModified) {
          this.gmtModified = gmtModified;
      }
  
      public Long getEntityId() {
          return entityId;
      }
  
      public void setEntityId(Long entityId) {
          this.entityId = entityId;
      }
  
      public String getField() {
          return field;
      }
  
      public void setField(String field) {
          this.field = field == null ? null : field.trim();
      }
  
      public String getAlias() {
          return alias;
      }
  
      public void setAlias(String alias) {
          this.alias = alias == null ? null : alias.trim();
      }
  
      public String getDim() {
          return dim;
      }
  
      public void setDim(String dim) {
          this.dim = dim == null ? null : dim.trim();
      }
  
      public String getType() {
          return type;
      }
  
      public void setType(String type) {
          this.type = type == null ? null : type.trim();
      }
  
      public Boolean getBuildIn() {
          return buildIn;
      }
  
      public void setBuildIn(Boolean buildIn) {
          this.buildIn = buildIn;
      }
  
      public Boolean getNullable() {
          return nullable;
      }
  
      public void setNullable(Boolean nullable) {
          this.nullable = nullable;
      }
  
      public String getDescription() {
          return description;
      }
  
      public void setDescription(String description) {
          this.description = description == null ? null : description.trim();
      }
  
      @Override
      public boolean equals(Object that) {
          if (this == that) {
              return true;
          }
          if (that == null) {
              return false;
          }
          if (getClass() != that.getClass()) {
              return false;
          }
          SwEntityField other = (SwEntityField) that;
          return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
              && (this.getGmtCreate() == null ? other.getGmtCreate() == null : this.getGmtCreate().equals(other.getGmtCreate()))
              && (this.getGmtModified() == null ? other.getGmtModified() == null : this.getGmtModified().equals(other.getGmtModified()))
              && (this.getEntityId() == null ? other.getEntityId() == null : this.getEntityId().equals(other.getEntityId()))
              && (this.getField() == null ? other.getField() == null : this.getField().equals(other.getField()))
              && (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias()))
              && (this.getDim() == null ? other.getDim() == null : this.getDim().equals(other.getDim()))
              && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
              && (this.getBuildIn() == null ? other.getBuildIn() == null : this.getBuildIn().equals(other.getBuildIn()))
              && (this.getNullable() == null ? other.getNullable() == null : this.getNullable().equals(other.getNullable()))
              && (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()));
      }
  
      @Override
      public int hashCode() {
          final int prime = 31;
          int result = 1;
          result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
          result = prime * result + ((getGmtCreate() == null) ? 0 : getGmtCreate().hashCode());
          result = prime * result + ((getGmtModified() == null) ? 0 : getGmtModified().hashCode());
          result = prime * result + ((getEntityId() == null) ? 0 : getEntityId().hashCode());
          result = prime * result + ((getField() == null) ? 0 : getField().hashCode());
          result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode());
          result = prime * result + ((getDim() == null) ? 0 : getDim().hashCode());
          result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
          result = prime * result + ((getBuildIn() == null) ? 0 : getBuildIn().hashCode());
          result = prime * result + ((getNullable() == null) ? 0 : getNullable().hashCode());
          result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
          return result;
      }
  
      @Override
      public String toString() {
          StringBuilder sb = new StringBuilder();
          sb.append(getClass().getSimpleName());
          sb.append(" [");
          sb.append("Hash = ").append(hashCode());
          sb.append(", id=").append(id);
          sb.append(", gmtCreate=").append(gmtCreate);
          sb.append(", gmtModified=").append(gmtModified);
          sb.append(", entityId=").append(entityId);
          sb.append(", field=").append(field);
          sb.append(", alias=").append(alias);
          sb.append(", dim=").append(dim);
          sb.append(", type=").append(type);
          sb.append(", buildIn=").append(buildIn);
          sb.append(", nullable=").append(nullable);
          sb.append(", description=").append(description);
          sb.append(", serialVersionUID=").append(serialVersionUID);
          sb.append("]");
          return sb.toString();
      }
  }