mirror of https://github.com/halo-dev/halo
Add property createTime to SheetParam.
parent
46b10fb342
commit
f62f3f5c4a
|
@ -11,6 +11,7 @@ import run.halo.app.utils.HaloUtils;
|
|||
import javax.validation.constraints.Min;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.Size;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author johnniang
|
||||
|
@ -35,6 +36,8 @@ public class SheetParam implements InputConverter<Sheet> {
|
|||
|
||||
private Boolean disallowComment = false;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
@Size(max = 255, message = "Length of password must not be more than {max}")
|
||||
private String password;
|
||||
|
||||
|
|
Loading…
Reference in New Issue