完善了订单接口

This commit is contained in:
chen-xin-zhi 2024-11-03 15:32:25 +08:00
parent 48cbe7722a
commit 00bc80f248
2 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,6 @@
package com.cultural.heritage.model.dto.good; package com.cultural.heritage.model.dto.good;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data; import lombok.Data;
import java.io.Serializable; import java.io.Serializable;

View File

@ -73,12 +73,14 @@ public class Coupon implements Serializable {
/** /**
* 有效开始日期 * 有效开始日期
*/ */
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date startTime; private Date startTime;
/** /**
* 有效截止日期 * 有效截止日期
*/ */
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date endTime; private Date endTime;
/** /**