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

📄 vordersline.java

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



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

public class VOrdersLine  implements java.io.Serializable {


    // Fields    

     /**
	 * 
	 */
	private static final long serialVersionUID = -6152967428891058737L;
	private Long oddId;
     private Long oddOrderId;
     private Long oddProdId;
     private String oddProdName;
     private Integer oddCount;
     private String oddUnit;
     private Double oddPrice;


    // Constructors

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

	/** minimal constructor */
    public VOrdersLine(Long oddId, Long oddOrderId, Long oddProdId, Integer oddCount) {
        this.oddId = oddId;
        this.oddOrderId = oddOrderId;
        this.oddProdId = oddProdId;
        this.oddCount = oddCount;
    }
    
    /** full constructor */
    public VOrdersLine(Long oddId, Long oddOrderId, Long oddProdId, Integer oddCount, String oddUnit, Double oddPrice) {
        this.oddId = oddId;
        this.oddOrderId = oddOrderId;
        this.oddProdId = oddProdId;
        this.oddCount = oddCount;
        this.oddUnit = oddUnit;
        this.oddPrice = oddPrice;
    }

   
    // Property accessors

    public Long getOddId() {
        return this.oddId;
    }
    
    public void setOddId(Long oddId) {
        this.oddId = oddId;
    }

    public Long getOddOrderId() {
        return this.oddOrderId;
    }
    
    public void setOddOrderId(Long oddOrderId) {
        this.oddOrderId = oddOrderId;
    }

    public Long getOddProdId() {
        return this.oddProdId;
    }
    
    public void setOddProdId(Long oddProdId) {
        this.oddProdId = oddProdId;
    }

    public Integer getOddCount() {
        return this.oddCount;
    }
    
    public void setOddCount(Integer oddCount) {
        this.oddCount = oddCount;
    }

    public String getOddUnit() {
        return this.oddUnit;
    }
    
    public void setOddUnit(String oddUnit) {
        this.oddUnit = oddUnit;
    }

    public Double getOddPrice() {
        return this.oddPrice;
    }
    
    public void setOddPrice(Double oddPrice) {
        this.oddPrice = oddPrice;
    }
   



   public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof VOrdersLine) ) return false;
		 VOrdersLine castOther = ( VOrdersLine ) other; 
         
		 return ( (this.getOddId()==castOther.getOddId()) || ( this.getOddId()!=null && castOther.getOddId()!=null && this.getOddId().equals(castOther.getOddId()) ) ) && ( (this.getOddOrderId()==castOther.getOddOrderId()) || ( this.getOddOrderId()!=null && castOther.getOddOrderId()!=null && this.getOddOrderId().equals(castOther.getOddOrderId()) ) ) && ( (this.getOddProdId()==castOther.getOddProdId()) || ( this.getOddProdId()!=null && castOther.getOddProdId()!=null && this.getOddProdId().equals(castOther.getOddProdId()) ) ) && ( (this.getOddCount()==castOther.getOddCount()) || ( this.getOddCount()!=null && castOther.getOddCount()!=null && this.getOddCount().equals(castOther.getOddCount()) ) ) && ( (this.getOddUnit()==castOther.getOddUnit()) || ( this.getOddUnit()!=null && castOther.getOddUnit()!=null && this.getOddUnit().equals(castOther.getOddUnit()) ) ) && ( (this.getOddPrice()==castOther.getOddPrice()) || ( this.getOddPrice()!=null && castOther.getOddPrice()!=null && this.getOddPrice().equals(castOther.getOddPrice()) ) );
   }
   
   public int hashCode() {
         int result = 17;
         
         result = 37 * result + ( getOddId() == null ? 0 : this.getOddId().hashCode() );
         result = 37 * result + ( getOddOrderId() == null ? 0 : this.getOddOrderId().hashCode() );
         result = 37 * result + ( getOddProdId() == null ? 0 : this.getOddProdId().hashCode() );
         result = 37 * result + ( getOddCount() == null ? 0 : this.getOddCount().hashCode() );
         result = 37 * result + ( getOddUnit() == null ? 0 : this.getOddUnit().hashCode() );
         result = 37 * result + ( getOddPrice() == null ? 0 : this.getOddPrice().hashCode() );
         return result;
   }

public String getOddProdName() {
	return oddProdName;
}

public void setOddProdName(String oddProdName) {
	this.oddProdName = oddProdName;
}   





}

⌨️ 快捷键说明

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