Commit 021c7a4a authored by hanbing's avatar hanbing

[update] 策略管理-修改返回ID的字段名

parent 8c6c8443
package net.wanji.opt.po.strategy; package net.wanji.opt.po.strategy;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
...@@ -14,6 +15,7 @@ import java.util.Date; ...@@ -14,6 +15,7 @@ import java.util.Date;
public class IdeaPO { public class IdeaPO {
/** 方法ID */ /** 方法ID */
@ApiModelProperty(value = "方法ID",notes = "") @ApiModelProperty(value = "方法ID",notes = "")
@JsonProperty("ideaId")
private Integer id ; private Integer id ;
/** 编号 */ /** 编号 */
@ApiModelProperty(value = "编号",notes = "") @ApiModelProperty(value = "编号",notes = "")
......
package net.wanji.opt.po.strategy; package net.wanji.opt.po.strategy;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
...@@ -13,6 +14,7 @@ import java.util.Date; ...@@ -13,6 +14,7 @@ import java.util.Date;
@Data @Data
public class StrategyPO { public class StrategyPO {
@ApiModelProperty(value = "策略ID",notes = "") @ApiModelProperty(value = "策略ID",notes = "")
@JsonProperty("strategyId")
private Integer id ; private Integer id ;
/** 编号 */ /** 编号 */
@ApiModelProperty(value = "编号",notes = "") @ApiModelProperty(value = "编号",notes = "")
......
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 to comment