content: package org.superboot.entity.jpa;
  
  import javax.persistence.*;
  import java.sql.Timestamp;
  import java.util.Objects;
  
  /**
   * <b>  </b>
   * <p>
   * 功能描述:
   * </p>
   *
   */
  @Entity
  @Table(name = "superboot_resource", schema = "superboot", catalog = "")
  public class SuperbootResource {
      private Timestamp ts;
      private Integer dr;
      private Timestamp createtime;
      private Long createby;
      private Timestamp lastmodifytime;
      private Long lastmodifyby;
      private Long pkResource;
      private String moduleName;
      private String serviceName;
      private String moduleId;
      private String apiName;
      private String methodName;
      private String modulePath;
      private String methodPath;
      private String url;
      private String remark;
  
      @Basic
      @Column(name = "ts")
      public Timestamp getTs() {
          return ts;
      }
  
      public void setTs(Timestamp ts) {
          this.ts = ts;
      }
  
      @Basic
      @Column(name = "dr")
      public Integer getDr() {
          return dr;
      }
  
      public void setDr(Integer dr) {
          this.dr = dr;
      }
  
      @Basic
      @Column(name = "createtime")
      public Timestamp getCreatetime() {
          return createtime;
      }
  
      public void setCreatetime(Timestamp createtime) {
          this.createtime = createtime;
      }
  
      @Basic
      @Column(name = "createby")
      public Long getCreateby() {
          return createby;
      }
  
      public void setCreateby(Long createby) {
          this.createby = createby;
      }
  
      @Basic
      @Column(name = "lastmodifytime")
      public Timestamp getLastmodifytime() {
          return lastmodifytime;
      }
  
      public void setLastmodifytime(Timestamp lastmodifytime) {
          this.lastmodifytime = lastmodifytime;
      }
  
      @Basic
      @Column(name = "lastmodifyby")
      public Long getLastmodifyby() {
          return lastmodifyby;
      }
  
      public void setLastmodifyby(Long lastmodifyby) {
          this.lastmodifyby = lastmodifyby;
      }
  
      @Id
      @Column(name = "pk_resource")
      public Long getPkResource() {
          return pkResource;
      }
  
      public void setPkResource(Long pkResource) {
          this.pkResource = pkResource;
      }
  
      @Basic
      @Column(name = "module_name")
      public String getModuleName() {
          return moduleName;
      }
  
      public void setModuleName(String moduleName) {
          this.moduleName = moduleName;
      }
  
      @Basic
      @Column(name = "service_name")
      public String getServiceName() {
          return serviceName;
      }
  
      public void setServiceName(String serviceName) {
          this.serviceName = serviceName;
      }
  
      @Basic
      @Column(name = "module_id")
      public String getModuleId() {
          return moduleId;
      }
  
      public void setModuleId(String moduleId) {
          this.moduleId = moduleId;
      }
  
      @Basic
      @Column(name = "api_name")
      public String getApiName() {
          return apiName;
      }
  
      public void setApiName(String apiName) {
          this.apiName = apiName;
      }
  
      @Basic
      @Column(name = "method_name")
      public String getMethodName() {
          return methodName;
      }
  
      public void setMethodName(String methodName) {
          this.methodName = methodName;
      }
  
      @Basic
      @Column(name = "module_path")
      public String getModulePath() {
          return modulePath;
      }
  
      public void setModulePath(String modulePath) {
          this.modulePath = modulePath;
      }
  
      @Basic
      @Column(name = "method_path")
      public String getMethodPath() {
          return methodPath;
      }
  
      public void setMethodPath(String methodPath) {
          this.methodPath = methodPath;
      }
  
      @Basic
      @Column(name = "url")
      public String getUrl() {
          return url;
      }
  
      public void setUrl(String url) {
          this.url = url;
      }
  
      @Basic
      @Column(name = "remark")
      public String getRemark() {
          return remark;
      }
  
      public void setRemark(String remark) {
          this.remark = remark;
      }
  
      @Override
      public boolean equals(Object o) {
          if (this == o) return true;
          if (o == null || getClass() != o.getClass()) return false;
          SuperbootResource that = (SuperbootResource) o;
          return Objects.equals(ts, that.ts) &&
                  Objects.equals(dr, that.dr) &&
                  Objects.equals(createtime, that.createtime) &&
                  Objects.equals(createby, that.createby) &&
                  Objects.equals(lastmodifytime, that.lastmodifytime) &&
                  Objects.equals(lastmodifyby, that.lastmodifyby) &&
                  Objects.equals(pkResource, that.pkResource) &&
                  Objects.equals(moduleName, that.moduleName) &&
                  Objects.equals(serviceName, that.serviceName) &&
                  Objects.equals(moduleId, that.moduleId) &&
                  Objects.equals(apiName, that.apiName) &&
                  Objects.equals(methodName, that.methodName) &&
                  Objects.equals(modulePath, that.modulePath) &&
                  Objects.equals(methodPath, that.methodPath) &&
                  Objects.equals(url, that.url) &&
                  Objects.equals(remark, that.remark);
      }
  
      @Override
      public int hashCode() {
  
          return Objects.hash(ts, dr, createtime, createby, lastmodifytime, lastmodifyby, pkResource, moduleName, serviceName, moduleId, apiName, methodName, modulePath, methodPath, url, remark);
      }
  }
  