?? abstractcustomer.java
字號:
/*
* WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized
* by MyEclipse Hibernate tool integration.
*
* Created Thu Sep 01 17:36:25 CST 2005 by MyEclipse Hibernate Tool.
*/
package com.ascent.bean;
import java.io.Serializable;
/**
* A class that represents a row in the customer table. You can customize the
* behavior of this class by editing the class, {@link Customer()}. WARNING: DO
* NOT EDIT THIS FILE. This is a generated file that is synchronized * by
* MyEclipse Hibernate tool integration.
*/
public abstract class AbstractCustomer implements Serializable {
private int hashValue = 0;
private Integer customer_id;
private String cust_name;
private String password;
private String email;
private int flag;
public AbstractCustomer() {
}
public AbstractCustomer(Integer customer_id) {
this.setCustomer_id(customer_id);
}
public String getCust_name() {
return cust_name;
}
public void setCust_name(String cust_name) {
this.cust_name = cust_name;
}
public Integer getCustomer_id() {
return customer_id;
}
public void setCustomer_id(Integer customer_id) {
this.customer_id = customer_id;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public boolean equals(Object rhs) {
if (rhs == null)
return false;
if (!(rhs instanceof Customer))
return false;
Customer that = (Customer) rhs;
if (this.getCustomer_id() == null || that.getCustomer_id() == null)
return false;
return (this.getCustomer_id().equals(that.getCustomer_id()));
}
public int hashCode() {
if (this.hashValue == 0) {
int result = 17;
int customerIdValue = this.getCustomer_id() == null ? 0 : this
.getCustomer_id().hashCode();
result = result * 37 + customerIdValue;
this.hashValue = result;
}
return this.hashValue;
}
public int getFlag() {
return flag;
}
public void setFlag(int flag) {
this.flag = flag;
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -