package com.wan.test.po;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
public class Film {
private Short filmId;
private String title;
private Date releaseYear;
private Byte languageId;
private Byte originalLanguageId;
private Byte rentalDuration;
private BigDecimal rentalRate;
private Short length;
private BigDecimal replacementCost;
private String rating;
private String specialFeatures;
private Date lastUpdate;
private String description;
private String languageName;
private String category;
public String getCategory() {
return category;
}
public void setCategory(String category) {
this.category = category;
}
private List<Actor> actor;
public List<Actor> getActor() {
return actor;
}
public void setActor(List<Actor> actor) {
this.actor = actor;
}
public String getLanguageName() {
return languageName;
}
public void setLanguageName(String languageName) {
this.languageName = languageName;
}
public Short getFilmId() {
return filmId;
}
public void setFilmId(Short filmId) {
this.filmId = filmId;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title == null ? null : title.trim();
}
public Date getReleaseYear() {
return releaseYear;
}
public void setReleaseYear(Date releaseYear) {
this.releaseYear = releaseYear;
}
public Byte getLanguageId() {
return languageId;
}
public void setLanguageId(Byte languageId) {
this.languageId = languageId;
}
public Byte getOriginalLanguageId() {
return originalLanguageId;
}
public void setOriginalLanguageId(Byte originalLanguageId) {
this.originalLanguageId = originalLanguageId;
}
public Byte getRentalDuration() {
return rentalDuration;
}
public void setRentalDuration(Byte rentalDuration) {
this.rentalDuration = rentalDuration;
}
public BigDecimal getRentalRate() {
return rentalRate;
}
public void setRentalRate(BigDecimal rentalRate) {
this.rentalRate = rentalRate;
}
public Short getLength() {
return length;
}
public void setLength(Short length) {
this.length = length;
}
public BigDecimal getReplacementCost() {
return replacementCost;
}
public void setReplacementCost(BigDecimal replacementCost) {
this.replacementCost = replacementCost;
}
public String getRating() {
return rating;
}
public void setRating(String rating) {
this.rating = rating == null ? null : rating.trim();
}
public String getSpecialFeatures() {
return specialFeatures;
}
public void setSpecialFeatures(String specialFeatures) {
this.specialFeatures = specialFeatures == null ? null : specialFeatures.trim();
}
public Date getLastUpdate() {
return lastUpdate;
}
public void setLastUpdate(Date lastUpdate) {
this.lastUpdate = lastUpdate;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description == null ? null : description.trim();
}
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
Film other = (Film) that;
return (this.getFilmId() == null ? other.getFilmId() == null : this.getFilmId().equals(other.getFilmId()))
&& (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
&& (this.getReleaseYear() == null ? other.getReleaseYear() == null : this.getReleaseYear().equals(other.getReleaseYear()))
&& (this.getLanguageId() == null ? other.getLanguageId() == null : this.getLanguageId().equals(other.getLanguageId()))
&& (this.getOriginalLanguageId() == null ? other.getOriginalLanguageId() == null : this.getOriginalLanguageId().equals(other.getOriginalLanguageId()))
&& (this.getRentalDuration() == null ? other.getRentalDuration() == null : this.getRentalDuration().equals(other.getRentalDuration()))
&& (this.getRentalRate() == null ? other.getRentalRate() == null : this.getRentalRate().equals(other.getRentalRate()))
&& (this.getLength() == null ? other.getLength() == null : this.getLength().equals(other.getLength()))
&& (this.getReplacementCost() == null ? other.getReplacementCost() == null : this.getReplacementCost().equals(other.getReplacementCost()))
&& (this.getRating() == null ? other.getRating() == null : this.getRating().equals(other.getRating()))
&& (this.getSpecialFeatures() == null ? other.getSpecialFeatures() == null : this.getSpecialFeatures().equals(other.getSpecialFeatures()))
&& (this.getLastUpdate() == null ? other.getLastUpdate() == null : this.getLastUpdate().equals(other.getLastUpdate()))
&& (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getFilmId() == null) ? 0 : getFilmId().hashCode());
result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
result = prime * result + ((getReleaseYear() == null) ? 0 : getReleaseYear().hashCode());
result = prime * result + ((getLanguageId() == null) ? 0 : getLanguageId().hashCode());
result = prime * result + ((getOriginalLanguageId() == null) ? 0 : getOriginalLanguageId().hashCode());
result = prime * result + ((getRentalDuration() == null) ? 0 : getRentalDuration().hashCode());
result = prime * result + ((getRentalRate() == null) ? 0 : getRentalRate().hashCode());
result = prime * result + ((getLength() == null) ? 0 : getLength().hashCode());
result = prime * result + ((getReplacementCost() == null) ? 0 : getReplacementCost().hashCode());
result = prime * result + ((getRating() == null) ? 0 : getRating().hashCode());
result = prime * result + ((getSpecialFeatures() == null) ? 0 : getSpecialFeatures().hashCode());
result = prime * result + ((getLastUpdate() == null) ? 0 : getLastUpdate().hashCode());
result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
return result;
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
SSM和BootStrap搭建的一个电影筛选分类查询demo
共59个文件
java:18个
xml:16个
jsp:7个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 66 浏览量
2022-06-27
18:47:28
上传
评论
收藏 992KB RAR 举报
温馨提示
本demo只实现了图书的分类查询功能,使用了maven构建的ssm demo,纯正的java项目 需要添加新功能只需要新建一些jsp
资源推荐
资源详情
资源评论
收起资源包目录
moive_web.rar (59个子文件)
pom.xml 9KB
sakila.sql 5.24MB
src
test
java
com
wan
test
test
SpringTestCase.java 3KB
main
resources
cache
ehcache.xml 3KB
spring
spring-context.xml 2KB
applicationContext-datasource.xml 4KB
applicationContext-mybatis.xml 1KB
applicationContext-cache.xml 1021B
mybatis
generatorConfig.xml 4KB
mybatis-config.xml 411B
generator-config.xml 2KB
mapper
BookDAOMapper.xml 1KB
LanguageMapper.xml 3KB
CategoryMapper.xml 3KB
ActorMapper.xml 3KB
FilmMapper.xml 11KB
java
com
wan
test
dao
CategoryDao.java 508B
BookDAO.java 733B
ActorDao.java 503B
LanguageDao.java 508B
FilmDao.java 992B
webAction
TestController.java 2KB
FilmController.java 3KB
config
CorsFilter.java 988B
po
Book.java 1KB
Language.java 2KB
Film.java 7KB
Actor.java 2KB
Category.java 2KB
service
CacheService.java 482B
FilmService.java 3KB
base
Utils.java 558B
AjaxResponse.java 1KB
webapp
index46544.jsp 5KB
WEB-INF
views
testDatabase.jsp 869B
nositemesh.jsp 913B
index.jsp 879B
cacheTest.jsp 1KB
sitemesh
sitemesh.jsp 4KB
web.xml 6KB
sitemesh3.xml 417B
index.jsp 11KB
static
bootstrap
test.html 5KB
css
bootstrap.min.css 111KB
bootstrap.css.map 358KB
bootstrap-theme.css.map 41KB
bootstrap-theme.css 21KB
bootstrap.css 134KB
bootstrap-theme.min.css 19KB
fonts
glyphicons-halflings-regular.svg 61KB
glyphicons-halflings-regular.woff 23KB
glyphicons-halflings-regular.ttf 40KB
glyphicons-halflings-regular.eot 20KB
js
npm.js 484B
bootstrap.js 64KB
bootstrap.min.js 34KB
jQuery
jquery-3.1.1.js 261KB
jquery-3.1.1.min.js 85KB
doT
doT.min.js 3KB
共 59 条
- 1
资源评论
知乎handy
- 粉丝: 8
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功