Update OrderParam.java

cyj
pbvfus8to 8 months ago
parent faf78b4efa
commit 7d640bebaf

@ -16,40 +16,60 @@ import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date; import java.util.Date;
/** /**
*
* ID便
*
* @author lanhai * @author lanhai
*/ */
@Data @Data
// 使用 @Data 注解,由 lombok 自动生成常用的方法如Getter、Setter、toString、equals、hashCode等方法
public class OrderParam { public class OrderParam {
/** /**
* id * id
*
*/ */
private Long shopId; private Long shopId;
/** /**
* -1 0: 1: 2: 3: *
*
* - -1
* - 0
* - 1
* - 2
* - 3
*
*/ */
private Integer status; private Integer status;
/** /**
* 10 *
*
* - 1
* - 0
*
*/ */
private Integer isPayed; private Integer isPayed;
/** /**
* *
*
*/ */
private String orderNumber; private String orderNumber;
/** /**
* *
*
* @DateTimeFormat "yyyy-MM-dd HH:mm:ss"
*/ */
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date startTime; private Date startTime;
/** /**
* *
*
* @DateTimeFormat "yyyy-MM-dd HH:mm:ss"
*/ */
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date endTime; private Date endTime;
} }
Loading…
Cancel
Save