需求一:对每天的课设置预约次数的限制
需求二:对每周的预约次数进行次数限制 需求三:所有课程48小时内不能取消预约设置可配置
This commit is contained in:
@@ -19,7 +19,7 @@ public class VenueDTO implements Serializable {
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
@@ -122,6 +122,16 @@ public class VenueDTO implements Serializable {
|
||||
*/
|
||||
private Integer deleted;
|
||||
|
||||
/**
|
||||
* 每天预约限制
|
||||
*/
|
||||
private Integer limitDay;
|
||||
|
||||
/**
|
||||
* 每周预约限制
|
||||
*/
|
||||
private Integer limitWeek;
|
||||
|
||||
/**
|
||||
* 场馆图片列表
|
||||
*/
|
||||
@@ -140,7 +150,7 @@ public class VenueDTO implements Serializable {
|
||||
/**
|
||||
* 设置
|
||||
*
|
||||
* @param id
|
||||
* @param id
|
||||
*/
|
||||
public void setId(Integer id){
|
||||
this.id = id;
|
||||
@@ -149,7 +159,7 @@ public class VenueDTO implements Serializable {
|
||||
/**
|
||||
* 获取
|
||||
*
|
||||
* @return
|
||||
* @return
|
||||
*/
|
||||
public Integer getId(){
|
||||
return id;
|
||||
@@ -527,4 +537,20 @@ public class VenueDTO implements Serializable {
|
||||
public void setCodeUrl(String codeUrl) {
|
||||
this.codeUrl = codeUrl;
|
||||
}
|
||||
}
|
||||
|
||||
public Integer getLimitDay() {
|
||||
return limitDay;
|
||||
}
|
||||
|
||||
public void setLimitDay(Integer limitDay) {
|
||||
this.limitDay = limitDay;
|
||||
}
|
||||
|
||||
public Integer getLimitWeek() {
|
||||
return limitWeek;
|
||||
}
|
||||
|
||||
public void setLimitWeek(Integer limitWeek) {
|
||||
this.limitWeek = limitWeek;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,9 +22,8 @@ import java.util.List;
|
||||
*/
|
||||
public class VenueLessonDTO implements Serializable {
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
@@ -180,6 +179,11 @@ public class VenueLessonDTO implements Serializable {
|
||||
*/
|
||||
private String venueName;
|
||||
|
||||
/**
|
||||
* 可取消预约时间(小时)
|
||||
*/
|
||||
private Integer orderLimit;
|
||||
|
||||
/**
|
||||
* 日期集合
|
||||
*/
|
||||
@@ -189,7 +193,7 @@ public class VenueLessonDTO implements Serializable {
|
||||
/**
|
||||
* 设置
|
||||
*
|
||||
* @param id
|
||||
* @param id
|
||||
*/
|
||||
public void setId(Integer id){
|
||||
this.id = id;
|
||||
@@ -198,7 +202,7 @@ public class VenueLessonDTO implements Serializable {
|
||||
/**
|
||||
* 获取
|
||||
*
|
||||
* @return
|
||||
* @return
|
||||
*/
|
||||
public Integer getId(){
|
||||
return id;
|
||||
@@ -615,4 +619,12 @@ public class VenueLessonDTO implements Serializable {
|
||||
public void setType(Integer type) {
|
||||
this.type = type;
|
||||
}
|
||||
}
|
||||
|
||||
public Integer getOrderLimit() {
|
||||
return orderLimit;
|
||||
}
|
||||
|
||||
public void setOrderLimit(Integer orderLimit) {
|
||||
this.orderLimit = orderLimit;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -151,6 +151,16 @@ public class Venue implements Serializable {
|
||||
*/
|
||||
private Integer deleted;
|
||||
|
||||
/**
|
||||
* 每天预约限制
|
||||
*/
|
||||
private Integer limitDay;
|
||||
|
||||
/**
|
||||
* 每周预约限制
|
||||
*/
|
||||
private Integer limitWeek;
|
||||
|
||||
|
||||
/**
|
||||
* 设置
|
||||
@@ -574,4 +584,20 @@ public class Venue implements Serializable {
|
||||
public void setNumber(Integer number) {
|
||||
this.number = number;
|
||||
}
|
||||
}
|
||||
|
||||
public Integer getLimitDay() {
|
||||
return limitDay;
|
||||
}
|
||||
|
||||
public void setLimitDay(Integer limitDay) {
|
||||
this.limitDay = limitDay;
|
||||
}
|
||||
|
||||
public Integer getLimitWeek() {
|
||||
return limitWeek;
|
||||
}
|
||||
|
||||
public void setLimitWeek(Integer limitWeek) {
|
||||
this.limitWeek = limitWeek;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ public class VenueLesson implements Serializable {
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
@@ -136,12 +136,15 @@ public class VenueLesson implements Serializable {
|
||||
*/
|
||||
private Integer deleted;
|
||||
|
||||
|
||||
/**
|
||||
* 可取消预约时间(小时)
|
||||
*/
|
||||
private Integer orderLimit;
|
||||
|
||||
/**
|
||||
* 设置
|
||||
*
|
||||
* @param id
|
||||
* @param id
|
||||
*/
|
||||
public void setId(Integer id){
|
||||
this.id = id;
|
||||
@@ -150,7 +153,7 @@ public class VenueLesson implements Serializable {
|
||||
/**
|
||||
* 获取
|
||||
*
|
||||
* @return
|
||||
* @return
|
||||
*/
|
||||
public Integer getId(){
|
||||
return id;
|
||||
@@ -520,4 +523,12 @@ public class VenueLesson implements Serializable {
|
||||
public void setType(Integer type) {
|
||||
this.type = type;
|
||||
}
|
||||
}
|
||||
|
||||
public Integer getOrderLimit() {
|
||||
return orderLimit;
|
||||
}
|
||||
|
||||
public void setOrderLimit(Integer orderLimit) {
|
||||
this.orderLimit = orderLimit;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user