Commit 6a5505cc by caosy

添加卷规则过期时间筛选

parent fb9d24df
......@@ -94,7 +94,11 @@ public class VoucherRuleQuery extends AbstractPagedQuery<VoucherRuleQuery> {
private Date createdTimeStart;
private Date createdTimeEnd;
private Date endUseDateStart;
private Date endUseDateEnd;
public Integer getId() {
return id;
}
......@@ -248,5 +252,22 @@ public class VoucherRuleQuery extends AbstractPagedQuery<VoucherRuleQuery> {
public void setCreatedTimeEnd(Date createdTimeEnd) {
this.createdTimeEnd = createdTimeEnd;
}
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
public Date getEndUseDateStart() {
return endUseDateStart;
}
public void setEndUseDateStart(Date endUseDateStart) {
this.endUseDateStart = endUseDateStart;
}
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
public Date getEndUseDateEnd() {
return endUseDateEnd;
}
public void setEndUseDateEnd(Date endUseDateEnd) {
this.endUseDateEnd = endUseDateEnd;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment