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

📄 vorders.java

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

import java.sql.Date;


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

public class VOrders  implements java.io.Serializable {


    // Fields    

     /**
	 * 
	 */
	private static final long serialVersionUID = -5822765868650403406L;
	private Long odrId;
     private String odrCustomer;
     private Date odrDate;
     private String odrAddr;
     private String odrStatus;


    // Constructors

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

	/** minimal constructor */
    public VOrders(Long odrId, String odrCustomer, Date odrDate, String odrStatus) {
        this.odrId = odrId;
        this.odrCustomer = odrCustomer;
        this.odrDate = odrDate;
        this.odrStatus = odrStatus;
    }
    
    /** full constructor */
    public VOrders(Long odrId, String odrCustomer, Date odrDate, String odrAddr, String odrStatus) {
        this.odrId = odrId;
        this.odrCustomer = odrCustomer;
        this.odrDate = odrDate;
        this.odrAddr = odrAddr;
        this.odrStatus = odrStatus;
    }

   
    // Property accessors

    public Long getOdrId() {
        return this.odrId;
    }
    
    public void setOdrId(Long odrId) {
        this.odrId = odrId;
    }

    public String getOdrCustomer() {
        return this.odrCustomer;
    }
    
    public void setOdrCustomer(String odrCustomer) {
        this.odrCustomer = odrCustomer;
    }

    public Date getOdrDate() {
        return this.odrDate;
    }
    
    public void setOdrDate(Date odrDate) {
        this.odrDate = odrDate;
    }

    public String getOdrAddr() {
        return this.odrAddr;
    }
    
    public void setOdrAddr(String odrAddr) {
        this.odrAddr = odrAddr;
    }

    public String getOdrStatus() {
        return this.odrStatus;
    }
    
    public void setOdrStatus(String odrStatus) {
        this.odrStatus = odrStatus;
    }
   



   public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof VOrders) ) return false;
		 VOrders castOther = ( VOrders ) other; 
         
		 return ( (this.getOdrId()==castOther.getOdrId()) || ( this.getOdrId()!=null && castOther.getOdrId()!=null && this.getOdrId().equals(castOther.getOdrId()) ) ) && ( (this.getOdrCustomer()==castOther.getOdrCustomer()) || ( this.getOdrCustomer()!=null && castOther.getOdrCustomer()!=null && this.getOdrCustomer().equals(castOther.getOdrCustomer()) ) ) && ( (this.getOdrDate()==castOther.getOdrDate()) || ( this.getOdrDate()!=null && castOther.getOdrDate()!=null && this.getOdrDate().equals(castOther.getOdrDate()) ) ) && ( (this.getOdrAddr()==castOther.getOdrAddr()) || ( this.getOdrAddr()!=null && castOther.getOdrAddr()!=null && this.getOdrAddr().equals(castOther.getOdrAddr()) ) ) && ( (this.getOdrStatus()==castOther.getOdrStatus()) || ( this.getOdrStatus()!=null && castOther.getOdrStatus()!=null && this.getOdrStatus().equals(castOther.getOdrStatus()) ) );
   }
   
   public int hashCode() {
         int result = 17;
         
         result = 37 * result + ( getOdrId() == null ? 0 : this.getOdrId().hashCode() );
         result = 37 * result + ( getOdrCustomer() == null ? 0 : this.getOdrCustomer().hashCode() );
         result = 37 * result + ( getOdrDate() == null ? 0 : this.getOdrDate().hashCode() );
         result = 37 * result + ( getOdrAddr() == null ? 0 : this.getOdrAddr().hashCode() );
         result = 37 * result + ( getOdrStatus() == null ? 0 : this.getOdrStatus().hashCode() );
         return result;
   }   





}

⌨️ 快捷键说明

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