Commit 021c7a4a authored by hanbing's avatar hanbing

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

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