课程自动复制

This commit is contained in:
limqhz
2022-02-08 23:17:22 +08:00
parent 083d4ebf80
commit a2adc8b62f
11 changed files with 130 additions and 5 deletions

View File

@@ -1,10 +1,14 @@
package com.sv.dto.api;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.sv.entity.VenueCard;
import com.sv.entity.VenueImage;
import com.sv.entity.VenuePrice;
import com.sv.json.LocalTimeSerializer;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.time.LocalTime;
import java.util.Date;
import java.math.*;
import java.util.List;
@@ -132,6 +136,18 @@ public class VenueDTO implements Serializable {
*/
private Integer limitWeek;
/**
* 复制周几
*/
private Integer copyWeek;
/**
* 复制时间
*/
@DateTimeFormat(iso = DateTimeFormat.ISO.TIME)
@JsonSerialize(using = LocalTimeSerializer.class)
private LocalTime copyTime;
/**
* 场馆图片列表
*/
@@ -553,4 +569,20 @@ public class VenueDTO implements Serializable {
public void setLimitWeek(Integer limitWeek) {
this.limitWeek = limitWeek;
}
public Integer getCopyWeek() {
return copyWeek;
}
public void setCopyWeek(Integer copyWeek) {
this.copyWeek = copyWeek;
}
public LocalTime getCopyTime() {
return copyTime;
}
public void setCopyTime(LocalTime copyTime) {
this.copyTime = copyTime;
}
}

View File

@@ -30,6 +30,18 @@ public class Venue implements Serializable {
*/
private String name;
/**
* 复制周几
*/
private Integer copyWeek;
/**
* 复制时间
*/
@DateTimeFormat(iso = DateTimeFormat.ISO.TIME)
@JsonSerialize(using = LocalTimeSerializer.class)
private LocalTime copyTime;
/**
* 地址
*/
@@ -600,4 +612,20 @@ public class Venue implements Serializable {
public void setLimitWeek(Integer limitWeek) {
this.limitWeek = limitWeek;
}
public Integer getCopyWeek() {
return copyWeek;
}
public void setCopyWeek(Integer copyWeek) {
this.copyWeek = copyWeek;
}
public LocalTime getCopyTime() {
return copyTime;
}
public void setCopyTime(LocalTime copyTime) {
this.copyTime = copyTime;
}
}