package com.leocat.entity;
// Generated 2010-9-24 10:53:30 by Hibernate Tools 3.3.0.GA
import java.math.BigDecimal;
/**
* BonusId generated by hbm2java
*/
public class BonusId implements java.io.Serializable {
private String ename;
private String job;
private BigDecimal sal;
private BigDecimal comm;
public BonusId() {
}
public BonusId(String ename, String job, BigDecimal sal, BigDecimal comm) {
this.ename = ename;
this.job = job;
this.sal = sal;
this.comm = comm;
}
public String getEname() {
return this.ename;
}
public void setEname(String ename) {
this.ename = ename;
}
public String getJob() {
return this.job;
}
public void setJob(String job) {
this.job = job;
}
public BigDecimal getSal() {
return this.sal;
}
public void setSal(BigDecimal sal) {
this.sal = sal;
}
public BigDecimal getComm() {
return this.comm;
}
public void setComm(BigDecimal comm) {
this.comm = comm;
}
public boolean equals(Object other) {
if ((this == other))
return true;
if ((other == null))
return false;
if (!(other instanceof BonusId))
return false;
BonusId castOther = (BonusId) other;
return ((this.getEname() == castOther.getEname()) || (this.getEname() != null
&& castOther.getEname() != null && this.getEname().equals(
castOther.getEname())))
&& ((this.getJob() == castOther.getJob()) || (this.getJob() != null
&& castOther.getJob() != null && this.getJob().equals(
castOther.getJob())))
&& ((this.getSal() == castOther.getSal()) || (this.getSal() != null
&& castOther.getSal() != null && this.getSal().equals(
castOther.getSal())))
&& ((this.getComm() == castOther.getComm()) || (this.getComm() != null
&& castOther.getComm() != null && this.getComm()
.equals(castOther.getComm())));
}
public int hashCode() {
int result = 17;
result = 37 * result
+ (getEname() == null ? 0 : this.getEname().hashCode());
result = 37 * result
+ (getJob() == null ? 0 : this.getJob().hashCode());
result = 37 * result
+ (getSal() == null ? 0 : this.getSal().hashCode());
result = 37 * result
+ (getComm() == null ? 0 : this.getComm().hashCode());
return result;
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
LeoCat.tar.gz (72个子文件)
LeoCat
.project 1KB
.settings
.jsdtscope 443B
org.eclipse.wst.common.component 439B
org.eclipse.jdt.core.prefs 323B
org.eclipse.wst.common.project.facet.core.xml 311B
org.eclipse.wst.jsdt.ui.superType.container 49B
org.eclipse.wst.jsdt.ui.superType.name 6B
src
test
MutiTestController.java 772B
log4j.properties 965B
com
leocat
dao
manager
controller
entity
SalgradeId.java 2KB
Salgrade.java 401B
Salgrade.hbm.xml 912B
BonusId.java 2KB
Bonus.java 377B
Emp.java 2KB
Bonus.hbm.xml 1008B
Dept.java 1KB
Dept.hbm.xml 990B
Emp.hbm.xml 1KB
hibernate.reveng.xml 523B
commons-logging.properties 86B
hibernate.cfg.xml 1KB
build
classes
test
MutiTestController.class 1KB
log4j.properties 965B
com
leocat
dao
manager
controller
entity
BonusId.class 2KB
SalgradeId.class 2KB
Salgrade.hbm.xml 912B
Emp.class 3KB
Dept.class 2KB
Salgrade.class 681B
Bonus.hbm.xml 1008B
Dept.hbm.xml 990B
Bonus.class 663B
Emp.hbm.xml 1KB
hibernate.reveng.xml 523B
commons-logging.properties 86B
hibernate.cfg.xml 1KB
.springBeans 371B
WebContent
WEB-INF
web.xml 2KB
applicationContext.xml 2KB
dispatchServlet-servlet.xml 748B
jsp
test.jsp 781B
testResult.jsp 348B
lib
org.springframework.asm-3.0.2.RELEASE.jar 52KB
org.springframework.expression-3.0.2.RELEASE.jar 153KB
com.springsource.javax.transaction-1.1.0.jar 15KB
org.springframework.transaction-3.0.2.RELEASE.jar 226KB
org.springframework.jdbc-3.0.2.RELEASE.jar 369KB
org.springframework.beans-3.0.2.RELEASE.jar 537KB
com.springsource.org.hibernate.annotations-3.4.0.GA.jar 276KB
com.springsource.org.hibernate.annotations.common-3.3.0.ga.jar 66KB
org.springframework.web-3.0.2.RELEASE.jar 374KB
com.springsource.javassist-3.3.0.ga.jar 453KB
com.springsource.org.aopalliance-1.0.0.jar 5KB
ojdbc14.jar 1.47MB
org.springframework.core-3.0.2.RELEASE.jar 350KB
slf4j-nop-1.5.8.jar 5KB
com.springsource.org.dom4j-1.6.1.jar 307KB
org.springframework.context-3.0.2.RELEASE.jar 642KB
org.springframework.aop-3.0.2.RELEASE.jar 313KB
com.springsource.javax.servlet.jsp.jstl-1.1.2.jar 21KB
org.springframework.web.servlet-3.0.2.RELEASE.jar 394KB
slf4j-api-1.5.8.jar 23KB
com.springsource.org.apache.log4j-1.2.15.jar 387KB
org.springframework.context.support-3.0.2.RELEASE.jar 98KB
com.springsource.org.aspectj.weaver-1.6.8.RELEASE.jar 1.57MB
org.springframework.orm-3.0.2.RELEASE.jar 325KB
com.springsource.org.hibernate-3.3.1.GA.jar 2.67MB
com.springsource.org.apache.commons.logging-1.1.1.jar 60KB
com.springsource.org.apache.commons.collections-3.2.1.jar 569KB
META-INF
MANIFEST.MF 39B
.classpath 828B
共 72 条
- 1
资源评论
Run_LeoCat
- 粉丝: 4
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于Apache Spark的Spark DistCP重实现设计源码
- 粤港澳大湾区(黄埔)算法算例大赛-工业表面缺陷检测源码+超详细注释
- 在 KolektorSDD 数据上使用分割决策网络进行表面缺陷检测python源码+文档说明
- 操作系统作业:时间片轮转算法的模拟实现C++源码+文档说明
- 基于改进yolov5的金属曲面缺陷检测,使用pyqt5实习了实时视频检测的功能python源码+文档说明
- 基于Qt及OpenCv设计了一个视觉检测系统,实现了米粒的计数、缺陷分析功能+源码+文档说明+效果图
- 基于STM32F1和TB6612芯片的电机驱动板,可以驱动两个电机正反转,具有比L298N更小的体积源码+文档说明
- 基于Javascript的CNN卷积交互式播放器设计源码
- 基于Layui的树表格(treeGrid)前端设计源码
- 基于Vue框架的Node+Vue茶叶商城设计源码
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功