content: package com.alibaba.sreworks.warehouse.domain;
  
  import java.io.Serializable;
  import java.util.Date;
  
  public class SwDomain implements Serializable {
      private Integer id;
  
      private Date gmtCreate;
  
      private Date gmtModified;
  
      private String name;
  
      private String abbreviation;
  
      private Boolean buildIn;
  
      private String subject;
  
      private String description;
  
      private static final long serialVersionUID = 1L;
  
      public Integer getId() {
          return id;
      }
  
      public void setId(Integer 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 String getName() {
          return name;
      }
  
      public void setName(String name) {
          this.name = name == null ? null : name.trim();
      }
  
      public String getAbbreviation() {
          return abbreviation;
      }
  
      public void setAbbreviation(String abbreviation) {
          this.abbreviation = abbreviation == null ? null : abbreviation.trim();
      }
  
      public Boolean getBuildIn() {
          return buildIn;
      }
  
      public void setBuildIn(Boolean buildIn) {
          this.buildIn = buildIn;
      }
  
      public String getSubject() {
          return subject;
      }
  
      public void setSubject(String subject) {
          this.subject = subject == null ? null : subject.trim();
      }
  
      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;
          }
          SwDomain other = (SwDomain) 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.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
              && (this.getAbbreviation() == null ? other.getAbbreviation() == null : this.getAbbreviation().equals(other.getAbbreviation()))
              && (this.getBuildIn() == null ? other.getBuildIn() == null : this.getBuildIn().equals(other.getBuildIn()))
              && (this.getSubject() == null ? other.getSubject() == null : this.getSubject().equals(other.getSubject()))
              && (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 + ((getName() == null) ? 0 : getName().hashCode());
          result = prime * result + ((getAbbreviation() == null) ? 0 : getAbbreviation().hashCode());
          result = prime * result + ((getBuildIn() == null) ? 0 : getBuildIn().hashCode());
          result = prime * result + ((getSubject() == null) ? 0 : getSubject().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(", name=").append(name);
          sb.append(", abbreviation=").append(abbreviation);
          sb.append(", buildIn=").append(buildIn);
          sb.append(", subject=").append(subject);
          sb.append(", description=").append(description);
          sb.append(", serialVersionUID=").append(serialVersionUID);
          sb.append("]");
          return sb.toString();
      }
  }