Commit 7a6c70b5 authored by 周健威's avatar 周健威

修改实体

parent 93302c81
...@@ -32,4 +32,7 @@ public class AppUserDetail { ...@@ -32,4 +32,7 @@ public class AppUserDetail {
private Long updatetime; private Long updatetime;
private Integer isdel; private Integer isdel;
@Column(name = "rent_free_days")
private Integer rentFreeDays;
} }
...@@ -10,7 +10,7 @@ spring: ...@@ -10,7 +10,7 @@ spring:
datasource: datasource:
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
driverClassName: com.mysql.jdbc.Driver driverClassName: com.mysql.jdbc.Driver
url: jdbc:mysql://10.5.52.3:3306/ag_admin_v1?useUnicode=true&characterEncoding=UTF-8 url: jdbc:mysql://10.5.52.3:3306/xxfc_order?useUnicode=true&characterEncoding=UTF-8
username: root username: root
password: sslcloud123*() password: sslcloud123*()
jackson: jackson:
......
#代码生成器,配置信息 #代码生成器,配置信息
#包名 #包名
package=package com.github.wxiaoqi.security.admin package=com.xxfc.platform.order
#作者 #作者
author=zjw author=zjw
#Email #Email
......
...@@ -6,6 +6,7 @@ import java.util.Map; ...@@ -6,6 +6,7 @@ import java.util.Map;
public enum OrderTypeEnum { public enum OrderTypeEnum {
RentVehicle(1, "租车订单"), RentVehicle(1, "租车订单"),
TOUR(2, "旅游订单"), TOUR(2, "旅游订单"),
MEMBER(3, "会员订单"),
; ;
/** /**
* 编码 * 编码
......
...@@ -189,5 +189,10 @@ public class BaseOrder implements Serializable { ...@@ -189,5 +189,10 @@ public class BaseOrder implements Serializable {
@ApiModelProperty(value = "退款时间") @ApiModelProperty(value = "退款时间")
private Long refundTime; private Long refundTime;
/**
* 是否有优惠
*/
@Column(name = "has_discount")
@ApiModelProperty(value = "是否有优惠")
private Long hasDiscount;
} }
...@@ -252,5 +252,10 @@ public class OrderRentVehicleDetail implements Serializable { ...@@ -252,5 +252,10 @@ public class OrderRentVehicleDetail implements Serializable {
@ApiModelProperty(value = "收车时间") @ApiModelProperty(value = "收车时间")
private Long collectTime; private Long collectTime;
/**
* 免费天数
*/
@Column(name = "free_days")
@ApiModelProperty(value = "免费天数")
private Long freeDays;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment