package com.hy.model;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* 优惠券 model
* @author rencuiman
* @date 2015-12-28 下午1:40:03
* @version 1.0.0
*/
@Entity
@Table(name="uu_coupon")
public class Coupon implements Serializable {
private static final long serialVersionUID = 1L;
@Id
@GeneratedValue
@Column(name="id", length = 10)
private Long id;
@Column(name = "status", length = 10)
private Long status;
@Column(name = "creater", length = 10)
private Long creater;
@Column(name = "create_date", length = 36)
private Date create_date;
@Column(name = "editer", length = 10)
private Long editer;
@Column(name = "update_date", length = 36)
private Date update_date;
@Column(name = "coupon_model_id", length = 10)
/**
* 优惠券模板id
*/
private Long coupon_model_id;
@Column(name = "coupon_name", length = 254)
/**
* 优惠券名称
*/
private String coupon_name;
@Column(name = "coupon_price", length = 20)
/**
* 优惠券价值
*/
private Long coupon_price;
@Column(name = "consumption_limit", length = 20)
/**
* 消费限制(元),
*/
private Long consumption_limit;
@Column(name = "service_category", length = 254)
/**
* 可用服务品类
*/
private String service_category;
@Column(name = "use_platform", length = 254)
/**
* 使用平台
*/
private String use_platform;
@Column(name = "application_areas", length = 10)
/**
* 适用地区
*/
private Long application_areas;
@Column(name = "effective_type", length = 1)
/**
* 有效时间(类型)(1天数,2起始时间)
*/
private Long effective_type;
@Column(name = "effective_time", length = 3)
/**
* 有效时间(日)
*/
private Long effective_time;
@Column(name = "start_time", length = 36)
/**
* 特定日期(开始)
*/
private Date start_time;
@Column(name = "end_time", length = 36)
/**
* 特定日期(结束)
*/
private Date end_time;
@Column(name = "caption1", length = 254)
/**
* 右侧第1行(说明文字)
*/
private String caption1;
@Column(name = "caption2", length = 254)
/**
* 右侧第2行(说明文字)
*/
private String caption2;
@Column(name = "caption3", length = 254)
/**
* 右侧第3行(说明文字)
*/
private String caption3;
@Column(name = "caption4", length = 254)
/**
* 左下(说明文字)
*/
private String caption4;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getStatus() {
return status;
}
public void setStatus(Long status) {
this.status = status;
}
public Long getCreater() {
return creater;
}
public void setCreater(Long creater) {
this.creater = creater;
}
public Date getCreate_date() {
return create_date;
}
public void setCreate_date(Date create_date) {
this.create_date = create_date;
}
public Long getEditer() {
return editer;
}
public void setEditer(Long editer) {
this.editer = editer;
}
public Date getUpdate_date() {
return update_date;
}
public void setUpdate_date(Date update_date) {
this.update_date = update_date;
}
public Long getCoupon_model_id() {
return coupon_model_id;
}
public void setCoupon_model_id(Long coupon_model_id) {
this.coupon_model_id = coupon_model_id;
}
public String getCoupon_name() {
return coupon_name;
}
public void setCoupon_name(String coupon_name) {
this.coupon_name = coupon_name;
}
public String getService_category() {
return service_category;
}
public void setService_category(String service_category) {
this.service_category = service_category;
}
public String getUse_platform() {
return use_platform;
}
public void setUse_platform(String use_platform) {
this.use_platform = use_platform;
}
public Long getApplication_areas() {
return application_areas;
}
public void setApplication_areas(Long application_areas) {
this.application_areas = application_areas;
}
public Long getEffective_type() {
return effective_type;
}
public void setEffective_type(Long effective_type) {
this.effective_type = effective_type;
}
public Long getEffective_time() {
return effective_time;
}
public void setEffective_time(Long effective_time) {
this.effective_time = effective_time;
}
public Date getStart_time() {
return start_time;
}
public void setStart_time(Date start_time) {
this.start_time = start_time;
}
public Date getEnd_time() {
return end_time;
}
public void setEnd_time(Date end_time) {
this.end_time = end_time;
}
public String getCaption1() {
return caption1;
}
public void setCaption1(String caption1) {
this.caption1 = caption1;
}
public String getCaption2() {
return caption2;
}
public void setCaption2(String caption2) {
this.caption2 = caption2;
}
public String getCaption3() {
return caption3;
}
public void setCaption3(String caption3) {
this.caption3 = caption3;
}
public String getCaption4() {
return caption4;
}
public void setCaption4(String caption4) {
this.caption4 = caption4;
}
public Long getCoupon_price() {
return coupon_price;
}
public void setCoupon_price(Long coupon_price) {
this.coupon_price = coupon_price;
}
public Long getConsumption_limit() {
return consumption_limit;
}
public void setConsumption_limit(Long consumption_limit) {
this.consumption_limit = consumption_limit;
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
spring mvc spring4.x hibernate4.注解方式注入
共67个文件
jar:39个
xml:5个
class:4个
5星 · 超过95%的资源 需积分: 10 21 下载量 152 浏览量
2016-01-30
14:25:54
上传
评论
收藏 15.93MB ZIP 举报
温馨提示
spring mvc spring4.x hibernate4.注解方式注入 简单的例子.spring mvc spring4.x hibernate4.注解方式注入 简单的例子.
资源推荐
资源详情
资源评论
收起资源包目录
springH4.zip (67个子文件)
springH4
.settings
org.eclipse.wst.jsdt.ui.superType.name 6B
org.eclipse.wst.common.project.facet.core.xml 252B
org.eclipse.core.resources.prefs 57B
org.eclipse.wst.common.component 462B
org.eclipse.wst.jsdt.ui.superType.container 49B
.jsdtscope 500B
com.genuitec.eclipse.ws.prefs 78B
org.eclipse.jdt.core.prefs 364B
src
jdbc.properties 165B
com
hy
dao
base
impl
BaseDao.java 4KB
model
Coupon.java 6KB
controller
MemberController.java 1KB
service
UserInfoService.java 902B
applicationContext.xml 7KB
.project 2KB
WebRoot
META-INF
MANIFEST.MF 36B
WEB-INF
hy-servlet.xml 1KB
web.xml 2KB
classes
jdbc.properties 165B
com
hy
dao
base
impl
BaseDao.class 4KB
model
Coupon.class 5KB
controller
MemberController.class 1KB
service
UserInfoService.class 1KB
applicationContext.xml 7KB
jsp
test.jsp 683B
lib
hibernate-jpa-2.1-api-1.0.0.Final.jar 111KB
mysql-connector-java-5.1.25.jar 829KB
dom4j-1.6.1.jar 307KB
spring-context-support-4.0.2.RELEASE.jar 132KB
hibernate-commons-annotations-4.0.4.Final.jar 74KB
commons-pool-1.5.4.jar 94KB
aopalliance-1.0.jar 4KB
antlr-2.7.7.jar 435KB
commons-dbcp-20030825.184428.jar 92KB
junit-4.8.2.jar 232KB
spring-jdbc-4.0.2.RELEASE.jar 410KB
spring-aop-4.0.2.RELEASE.jar 344KB
aspectjweaver-1.7.4.jar 1.76MB
spring-web-4.0.2.RELEASE.jar 649KB
xml-apis-1.0.b2.jar 107KB
commons-httpclient-3.1.jar 298KB
spring-oxm-4.0.2.RELEASE.jar 78KB
jboss-logging-annotations-1.2.0.Beta1.jar 11KB
jandex-1.1.0.Final.jar 75KB
commons-lang-2.6.jar 278KB
commons-codec-1.2.jar 29KB
jboss-logging-3.1.3.GA.jar 56KB
spring-core-4.0.2.RELEASE.jar 938KB
spring-aspects-4.0.2.RELEASE.jar 51KB
spring-beans-4.0.2.RELEASE.jar 653KB
javassist-3.18.1-GA.jar 697KB
spring-orm-4.0.2.RELEASE.jar 358KB
commons-logging-1.1.3.jar 61KB
spring-tx-4.0.2.RELEASE.jar 242KB
spring-test-4.0.2.RELEASE.jar 437KB
jboss-transaction-api_1.2_spec-1.0.0.Final.jar 27KB
spring-webmvc-4.0.2.RELEASE.jar 645KB
commons-fileupload-1.3.jar 67KB
commons-io-2.2.jar 170KB
mchange-commons-0.2.jar 538KB
hibernate-core-4.3.4.Final.jar 4.98MB
spring-context-4.0.2.RELEASE.jar 951KB
log4j-1.2.17.jar 478KB
spring-expression-4.0.2.RELEASE.jar 200KB
index.jsp 834B
.mymetadata 297B
.classpath 4KB
.myeclipse
共 67 条
- 1
资源评论
- 马哲_冬日阳光2016-12-16还没看,为了获得积分评价。
1888c
- 粉丝: 0
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- tensorflow-2.7.3-cp39-cp39-manylinux2010-x86-64.whl
- tensorflow-2.7.2-cp39-cp39-manylinux2010-x86-64.whl
- Python版本快速排序源代码
- Python 语言版的快速排序算法实现
- 450815388207377安卓_base.apk
- 超微主板 X9DRE-TF+ bios 支持 nvme启动
- 基于Python通过下载气象数据和插值拟合离散数据曲线实现对寒潮过程的能量分析
- 健身房系统的设计与实现论文Java项目
- 使用TCP实现的搜索可用服务器
- 使用贪心算法解决会议时间安排问题的 Java 示例代码
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功