|
|
@@ -2,7 +2,6 @@ package cn.seecoder.courselearning.dto;
|
|
|
|
|
|
import cn.seecoder.courselearning.enums.CouponType;
|
|
|
import lombok.Data;
|
|
|
-import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
|
@@ -19,9 +18,7 @@ public class CourseCouponDTO {
|
|
|
private Double discount;
|
|
|
private Integer threshold;
|
|
|
private Integer cutDown;
|
|
|
- @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
private LocalDateTime startTime;
|
|
|
- @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
private LocalDateTime endTime;
|
|
|
private Boolean sharable;
|
|
|
}
|