Remove type property of post

pull/296/head
johnniang 2019-07-29 19:51:22 +08:00
parent 658ef3dbce
commit 983856e9ff
4 changed files with 2 additions and 4 deletions

View File

@ -28,8 +28,6 @@ public class BasePostMinimalDTO implements OutputConverter<BasePostMinimalDTO, B
private String url;
private PostType type;
private Date updateTime;
private Date createTime;

View File

@ -16,8 +16,6 @@ import run.halo.app.model.enums.PostType;
@EqualsAndHashCode(callSuper = true)
public class BasePostSimpleDTO extends BasePostMinimalDTO {
private PostType type;
private String summary;
private String thumbnail;

View File

@ -5,6 +5,7 @@ package run.halo.app.model.enums;
*
* @author johnniang
*/
@Deprecated
public enum PostType implements ValueEnum<Integer> {
/**

View File

@ -11,6 +11,7 @@ import javax.persistence.Converter;
* @date 3/27/19
*/
@Converter(autoApply = true)
@Deprecated
public class PostTypeConverter extends AbstractConverter<PostType, Integer> {
public PostTypeConverter() {