mirror of https://github.com/halo-dev/halo
Add createTime modification feature
parent
294c948ddc
commit
e4cfd0a3c6
|
@ -12,6 +12,7 @@ import run.halo.app.utils.HaloUtils;
|
||||||
import javax.validation.constraints.Min;
|
import javax.validation.constraints.Min;
|
||||||
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotBlank;
|
||||||
import javax.validation.constraints.Size;
|
import javax.validation.constraints.Size;
|
||||||
|
import java.util.Date;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -50,6 +51,8 @@ public class PostParam implements InputConverter<Post> {
|
||||||
@Min(value = 0, message = "Post top priority must not be less than {value}")
|
@Min(value = 0, message = "Post top priority must not be less than {value}")
|
||||||
private Integer topPriority = 0;
|
private Integer topPriority = 0;
|
||||||
|
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
private PostCreateFrom createFrom = PostCreateFrom.ADMIN;
|
private PostCreateFrom createFrom = PostCreateFrom.ADMIN;
|
||||||
|
|
||||||
private Set<Integer> tagIds;
|
private Set<Integer> tagIds;
|
||||||
|
|
Loading…
Reference in New Issue