⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vstorage.java

📁 crm系统 有源码 及相关文档sql2005 数据库 客户反馈模块
💻 JAVA
字号:
package org.jb.y272.team0.entity;



/**
 * VStorageId generated by MyEclipse - Hibernate Tools
 */

public class VStorage  implements java.io.Serializable {


    // Fields    

     /**
	 * 
	 */
	private static final long serialVersionUID = 586011788209253117L;
	private Long stkId;
     private String stkProduct;
     private String stkWarehouse;
     private String stkWare;
     private Integer stkCount;
     private String stkMemo;


    // Constructors

    /** default constructor */
    public VStorage() {
    }

	/** minimal constructor */
    public VStorage(Long stkId, String stkWarehouse, String stkWare, Integer stkCount) {
        this.stkId = stkId;
        this.stkWarehouse = stkWarehouse;
        this.stkWare = stkWare;
        this.stkCount = stkCount;
    }
    
    /** full constructor */
    public VStorage(Long stkId, String stkProduct, String stkWarehouse, String stkWare, Integer stkCount, String stkMemo) {
        this.stkId = stkId;
        this.stkProduct = stkProduct;
        this.stkWarehouse = stkWarehouse;
        this.stkWare = stkWare;
        this.stkCount = stkCount;
        this.stkMemo = stkMemo;
    }

   
    // Property accessors

    public Long getStkId() {
        return this.stkId;
    }
    
    public void setStkId(Long stkId) {
        this.stkId = stkId;
    }

    public String getStkProduct() {
        return this.stkProduct;
    }
    
    public void setStkProduct(String stkProduct) {
        this.stkProduct = stkProduct;
    }

    public String getStkWarehouse() {
        return this.stkWarehouse;
    }
    
    public void setStkWarehouse(String stkWarehouse) {
        this.stkWarehouse = stkWarehouse;
    }

    public String getStkWare() {
        return this.stkWare;
    }
    
    public void setStkWare(String stkWare) {
        this.stkWare = stkWare;
    }

    public Integer getStkCount() {
        return this.stkCount;
    }
    
    public void setStkCount(Integer stkCount) {
        this.stkCount = stkCount;
    }

    public String getStkMemo() {
        return this.stkMemo;
    }
    
    public void setStkMemo(String stkMemo) {
        this.stkMemo = stkMemo;
    }
   



   public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof VStorage) ) return false;
		 VStorage castOther = ( VStorage ) other; 
         
		 return ( (this.getStkId()==castOther.getStkId()) || ( this.getStkId()!=null && castOther.getStkId()!=null && this.getStkId().equals(castOther.getStkId()) ) ) && ( (this.getStkProduct()==castOther.getStkProduct()) || ( this.getStkProduct()!=null && castOther.getStkProduct()!=null && this.getStkProduct().equals(castOther.getStkProduct()) ) ) && ( (this.getStkWarehouse()==castOther.getStkWarehouse()) || ( this.getStkWarehouse()!=null && castOther.getStkWarehouse()!=null && this.getStkWarehouse().equals(castOther.getStkWarehouse()) ) ) && ( (this.getStkWare()==castOther.getStkWare()) || ( this.getStkWare()!=null && castOther.getStkWare()!=null && this.getStkWare().equals(castOther.getStkWare()) ) ) && ( (this.getStkCount()==castOther.getStkCount()) || ( this.getStkCount()!=null && castOther.getStkCount()!=null && this.getStkCount().equals(castOther.getStkCount()) ) ) && ( (this.getStkMemo()==castOther.getStkMemo()) || ( this.getStkMemo()!=null && castOther.getStkMemo()!=null && this.getStkMemo().equals(castOther.getStkMemo()) ) );
   }
   
   public int hashCode() {
         int result = 17;
         
         result = 37 * result + ( getStkId() == null ? 0 : this.getStkId().hashCode() );
         result = 37 * result + ( getStkProduct() == null ? 0 : this.getStkProduct().hashCode() );
         result = 37 * result + ( getStkWarehouse() == null ? 0 : this.getStkWarehouse().hashCode() );
         result = 37 * result + ( getStkWare() == null ? 0 : this.getStkWare().hashCode() );
         result = 37 * result + ( getStkCount() == null ? 0 : this.getStkCount().hashCode() );
         result = 37 * result + ( getStkMemo() == null ? 0 : this.getStkMemo().hashCode() );
         return result;
   }   





}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -