Authored by peuei

fix

... ... @@ -37,7 +37,7 @@ public class GrassArticle {
private Integer isRecommend;
// TODO: 同时还对应 status
@FieldTransfer
@FieldTransfer(targetFieldName = "auditStatus")
private Integer authStatus;
@FieldTransfer
... ...
... ... @@ -9,7 +9,7 @@ import lombok.Data;
@ClassTransfer(targetClass = PublicUserComment.class)
public class GrassArticleComment {
@FieldTransfer(targetFieldName = "relate_id")
@FieldTransfer(targetFieldName = "relateId")
private Integer id;
@FieldTransfer
... ... @@ -19,23 +19,23 @@ public class GrassArticleComment {
private Integer articleType;
@FieldTransfer(targetFieldName = "content_data")
@FieldTransfer(targetFieldName = "contentData")
private String content;
@FieldTransfer
private Integer rootId;
@FieldTransfer(targetFieldName = "to_comment_id")
@FieldTransfer(targetFieldName = "toCommentId")
private Integer parentId;
private Integer relateId;
private Integer relateParentId;
@FieldTransfer(targetFieldName = "praise_num")
@FieldTransfer(targetFieldName = "praiseNum")
private Integer praiseTotal;
@FieldTransfer(targetFieldName = "audit_status")
@FieldTransfer(targetFieldName = "auditStatus")
private Integer status;
@FieldTransfer
... ...