content: package com.alibaba.sreworks.dataset.domain.primary;
  
  import java.io.Serializable;
  import java.util.Date;
  
  public class DataInterfaceParams implements Serializable {
      private Long id;
  
      private Date gmtCreate;
  
      private Date gmtModified;
  
      private String name;
  
      private String label;
  
      private Integer interfaceId;
  
      private String type;
  
      private Boolean required;
  
      private String defaultValue;
  
      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 String getName() {
          return name;
      }
  
      public void setName(String name) {
          this.name = name == null ? null : name.trim();
      }
  
      public String getLabel() {
          return label;
      }
  
      public void setLabel(String label) {
          this.label = label == null ? null : label.trim();
      }
  
      public Integer getInterfaceId() {
          return interfaceId;
      }
  
      public void setInterfaceId(Integer interfaceId) {
          this.interfaceId = interfaceId;
      }
  
      public String getType() {
          return type;
      }
  
      public void setType(String type) {
          this.type = type == null ? null : type.trim();
      }
  
      public Boolean getRequired() {
          return required;
      }
  
      public void setRequired(Boolean required) {
          this.required = required;
      }
  
      public String getDefaultValue() {
          return defaultValue;
      }
  
      public void setDefaultValue(String defaultValue) {
          this.defaultValue = defaultValue == null ? null : defaultValue.trim();
      }
  
      @Override
      public boolean equals(Object that) {
          if (this == that) {
              return true;
          }
          if (that == null) {
              return false;
          }
          if (getClass() != that.getClass()) {
              return false;
          }
          DataInterfaceParams other = (DataInterfaceParams) 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.getLabel() == null ? other.getLabel() == null : this.getLabel().equals(other.getLabel()))
              && (this.getInterfaceId() == null ? other.getInterfaceId() == null : this.getInterfaceId().equals(other.getInterfaceId()))
              && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
              && (this.getRequired() == null ? other.getRequired() == null : this.getRequired().equals(other.getRequired()))
              && (this.getDefaultValue() == null ? other.getDefaultValue() == null : this.getDefaultValue().equals(other.getDefaultValue()));
      }
  
      @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 + ((getLabel() == null) ? 0 : getLabel().hashCode());
          result = prime * result + ((getInterfaceId() == null) ? 0 : getInterfaceId().hashCode());
          result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
          result = prime * result + ((getRequired() == null) ? 0 : getRequired().hashCode());
          result = prime * result + ((getDefaultValue() == null) ? 0 : getDefaultValue().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(", label=").append(label);
          sb.append(", interfaceId=").append(interfaceId);
          sb.append(", type=").append(type);
          sb.append(", required=").append(required);
          sb.append(", defaultValue=").append(defaultValue);
          sb.append(", serialVersionUID=").append(serialVersionUID);
          sb.append("]");
          return sb.toString();
      }
  }